Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Prevent banned words from deleting the user’s post?

@shanebp

Moderator

Have you tried using the filter hooks to write functions that bypass the blacklist and moderation checks? You can find the hooks in this file: buddypress\bp-core\bp-core-moderation.php

For example, this could go in your theme > functions.php or in bp-custom.php :

function bp_bypass_checks( $flag, $user_id, $title, $content ) {
	return true;	
}
add_filter( 'bp_bypass_check_for_blacklist', 'bp_bypass_checks', 1, 4 );
add_filter( 'bp_bypass_check_for_moderation', 'bp_bypass_checks', 1, 4 );
Skip to toolbar