Forums
-
- Forum
- Posts
-
- Installation
- 28,422
- Troubleshooting
- 62,414
- Themes
- 10,415
- Plugins
- 15,331
- Requests & Feedback
- 14,958
- Showcase
- 3,255
-
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.