Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: edit_comment hook in bp-blogs/bp-blogs-functions.php causing error

@shanebp

Moderator

Please use pastebin or gist to share large code blocks.

You could always use the filter hook to set $is_blog_public to false and then remove the filter ( add_filter, remove_filter ), as part of your custom comment handling.
$is_blog_public = apply_filters( 'bp_is_blog_public', (int)get_blog_option( $blog_id, 'blog_public' ) );

Skip to toolbar