akismet_delete_comment_limit

akismet_delete_comment_limit

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.4.2

apply_filters('akismet_delete_comment_limit') is found 1 times:

  • /wp-content/plugins/akismet/class.akismet.php line 358
    		 * Determines how many comments will be deleted in each batch.
    		 *
    		 * @param int The default, as defined by AKISMET_DELETE_LIMIT.
    		 */
    		$delete_limit = apply_filters( 'akismet_delete_comment_limit', defined( 'AKISMET_DELETE_LIMIT' ) ? AKISMET_DELETE_LIMIT : 10000 );
    		$delete_limit = max( 1, intval( $delete_limit ) );
    
    		/**
    		 * Determines how many days a comment will be left in the Spam queue before being deleted.
    		 *
    		 * @param int The default number of days.