Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: exclude admin in activitystream


@mercime
Participant

@mercime

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
}

Skip to toolbar