Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,527
- Creating & Extending
- 25,791
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
I’ve placed this code before button display. But I think it will be better to charge the plugin only if the admin is logged in, just after to have checked if buddypress is runing, I don’t know how to do that. Excuse my english..
if ( $bp->loggedin_user->is_site_admin ) {
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS