bbp_spam_reply

bbp_spam_reply

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_spam_reply') is found 1 times:

  • /includes/replies/functions.php line 1739
    		return false;
    	}
    
    	// Execute pre spam code
    	do_action( 'bbp_spam_reply', $reply_id );
    
    	// Add the original post status as post meta for future restoration
    	add_post_meta( $reply_id, '_bbp_spam_meta_status', $reply->post_status );
    
    	// Set post status to spam
    	$reply->post_status = bbp_get_spam_status_id();
    

See this hook used in plugins: