Hench / WP Check user logged in
By: a guest | Mar 4th, 2010 | Syntax:
PHP | Size: 0.18 KB | Hits: 441 | Expires: Never
<?php global $user_ID;
get_currentuserinfo();?>
<?php if ( current_user_can('level_1') ) : ?>
// Do Something
<?php else : ?>
// Do Something Else
<?php endif; ?>