action_scheduler_cleanup_batch_size

action_scheduler_cleanup_batch_size

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('action_scheduler_cleanup_batch_size') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_QueueCleaner.php line 231

    Warning: Undefined array key 233 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 234 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 235 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 236 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * Filter the batch size when cleaning the queue.
    		 *
    		 * @param int $batch_size The number of actions to clean in one batch.
    		 */
    		return absint( apply_filters( 'action_scheduler_cleanup_batch_size', $this->batch_size ) );
    	}
    }