action_scheduler/migration_batch_size
Get migration batch size.
Usage
add_filter( 'action_scheduler/migration_batch_size', 'wp_kama_action_scheduler_migration_batch_size_filter' );
/**
* Function for `action_scheduler/migration_batch_size` filter-hook.
*
* @param $250
*
* @return
*/
function wp_kama_action_scheduler_migration_batch_size_filter( $250 ){
// filter...
return $250;
}
- $250
- -
Where the hook is called
action_scheduler/migration_batch_size
woocommerce/packages/action-scheduler/classes/migration/Scheduler.php 114
return (int) apply_filters( 'action_scheduler/migration_batch_size', 250 ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores