bbp_akismet_spam_caught

bbp_akismet_spam_caught

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_akismet_spam_caught') is found 1 times:

  • /includes/extend/akismet.php line 242
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    // Result is spam, so set the status as such
    if ( 'true' === $post_data['bbp_akismet_result'] ) {
     
        // Let plugins do their thing
        do_action( 'bbp_akismet_spam_caught' );
     
        // Set post_status to spam
        $post_data['post_status'] = bbp_get_spam_status_id();
     
        // Filter spammy tags into meta data
        add_filter( 'bbp_new_reply_pre_set_terms', array( $this, 'filter_post_terms' ), 1, 3 );