bbp_bypass_spam_enforcement

bbp_bypass_spam_enforcement

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_bypass_spam_enforcement') is found 1 times:

  • /includes/extend/akismet.php line 214
    		// Allow moderators to skip spam (includes per-forum moderators via $parent_id)
    		$skip_spam = current_user_can( 'moderate', $parent_id );
    
    		// Bail early if current user can skip spam enforcement
    		if ( apply_filters( 'bbp_bypass_spam_enforcement', $skip_spam, $post_data ) ) {
    			return $post_data;
    		}
    
    		// Discard obvious spam
    		if ( get_option( 'akismet_strictness' ) ) {