
Hench / WP Check user logged in
By: a guest on
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; ?>