Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,830
- How-to & Troubleshooting
- 129,810
- Creating & Extending
- 25,867
- Requests & Feedback
- 9,509
- Third Party Plugins
- 9,821
- Showcase
- 3,317
- Ideas
- 1,382
- Miscellaneous
- 9,177
-
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 ) {