bbp_bypass_spam_enforcement
bbp_bypass_spam_enforcement
Appears in: bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: filter
Displaying hooks found in version: bbpress.2.6.9apply_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' ) ) {