Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,666
- How-to & Troubleshooting
- 127,969
- Creating & Extending
- 25,644
- Requests & Feedback
- 9,398
- Third Party Plugins
- 9,724
- Showcase
- 3,320
- Ideas
- 1,346
- Miscellaneous
- 8,853
-
Brajesh code for “Stealth Mode for Admins” also works for me BP 1.2.3/WPMU 2.9.2.
Just add to bp-custom.php
add_action("plugins_loaded","bpdev_init_sm_mode");
function bpdev_init_sm_mode(){
if(is_site_admin())
remove_action("wp_head","bp_core_record_activity");//id SM is on, remove the record activity hook
}
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS