Hi ,
how to determine if its a member or an admin ( by admin , i mean the administrator and keymaster levels ) ?
if not , where can i find a good documentation about bbpress template tags like wordpress' one ?
TFYT .
Hi ,
how to determine if its a member or an admin ( by admin , i mean the administrator and keymaster levels ) ?
if not , where can i find a good documentation about bbpress template tags like wordpress' one ?
TFYT .
try
if ( bb_current_user_can( 'administrate' ) ) {
// do something
} else {
// do something else
}
If you look in bb-includes/capabilities.php, you'll see a list of available capabilities you an check for, if you want more fine grained control than the above.
Thanks very much for your help !
You must log in to post.