bbp_akismet_spam_caught

  • do_action( 'bbp_akismet_spam_caught' )

    Source Reference:

    • Component: bbPress:: bbp-core
      File: /bbp-includes/bbp-extend-akismet.php :: Trac Source Line: 163
      		unset( $post['bbp_akismet_result'] );
      
      		// Store the data as submitted
      		$post_data['bbp_post_as_submitted'] = $post;
      
      		// Spam
      		if ( 'true' == $post_data['bbp_akismet_result'] ) {
      
      			// Let plugins do their thing
      			do_action( 'bbp_akismet_spam_caught' );
      
      			// This is spam
      			$post_data['post_status'] = bbp_get_spam_status_id();
      
      			// We don't want your spam tags here
      			add_filter( 'bbp_new_reply_pre_set_terms', array( $this, 'filter_post_terms' ), 1, 3 );
      
      			// @todo Spam counter?
      		}
      

Comments are closed.