action_scheduler/migration_batch_starting
Migration a batch of actions.
Usage
add_action( 'action_scheduler/migration_batch_starting', 'wp_kama_action_scheduler_migration_batch_starting_action' ); /** * Function for `action_scheduler/migration_batch_starting` action-hook. * * @param array $action_ids List of action IDs to migrate. * * @return void */ function wp_kama_action_scheduler_migration_batch_starting_action( $action_ids ){ // action... }
- $action_ids(array)
- List of action IDs to migrate.
Where the hook is called
action_scheduler/migration_batch_starting
woocommerce/packages/action-scheduler/classes/migration/Runner.php 129
do_action( 'action_scheduler/migration_batch_starting', $action_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores