Re: Remove User ID from Blog Related Site Wide Activity
jvinch, ok. I’m not sure what else to tell you about this except create a new file, name it anything you want .php, drop it in /mu-plugins. The plugin should contain the function bp_blogs_record_post() as it is in bp-blogs.php.
1) rename the function something else: jvinch_bp_blogs_record_post()
2) add the filter code that skips recording blog posts for blog id 2
3) unhook the current bp_blogs_record_post() and hook up your modified function instead
4) test it out
#2 above would be somthing like:
if ($blog == 2) return;
#3 would be:
remove_action( 'publish_post', 'bp_blogs_record_post' );
add_action( 'publish_post', 'jvinch_bp_blogs_record_post' );
You are doing all this on a dev server for testing of course.