@rastarr
– There’s a free plugin but has not been updated in over 2 years https://wordpress.org/plugins/bp-ninja/
– There’s premium and maintained plugin http://buddydev.com/plugins/bp-stealth-mode-for-site-admin/
Ouch @mercime
I thought it would have been a simple add_filter thing than a 3 month website subscription to get some plugin, to disable login activity for a user hahaha
@rastarr you could always go the none-code-way and create a new user?
@rastarr I recall some code you can add instead of the plugin posted in same Buddydev.com site in an old post http://buddydev.com/buddypress/stealth-mode-for-buddypress-site-admin-plugin/
Haven’t tested/used it, at least change is_site_admin to is_super_admin.
Also if plugins_loaded doesn’t work, try bp_loaded
Most cool @mercime
This worked a treat
/* disable Recording Site Activity for Admins */
add_action("bp_loaded","bpdev_init_sm_mode");
function bpdev_init_sm_mode(){
if(is_super_admin())
remove_action("wp_head","bp_core_record_activity");//id SM is on, remove the record activity hook
}
/* -------------------------------------------- */
Thank you so much
@rastarr thanks to @sbrajesh 🙂 Marking this as resolved.