Return to Snippet

Revision: 22419
at January 12, 2010 07:32 by davebowker


Initial Code
<?php if (!empty($comment->user_id) && get_userdata($comment->user_id)->wp_user_level > '1') {
echo "ADMIN";
} else {
echo "REGULAR FOLK";
}?>

Initial URL


Initial Description


Initial Title
WordPress comment styling for specific user levels

Initial Tags
wordpress, user

Initial Language
PHP