Forums
-
- Forum
- Posts
-
- Installation
- 26,331
- Troubleshooting
- 56,478
- Themes
- 9,856
- Plugins
- 14,387
- Requests & Feedback
- 14,131
- Showcase
- 3,212
-
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.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS