action_scheduler/migration_batch_starting

action_scheduler/migration_batch_starting

Hook Type: action

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.0

do_action('action_scheduler/migration_batch_starting') is found 1 times:

  • /vendor/woocommerce/action-scheduler/classes/migration/Runner.php line 97
    	 *
    	 * @param array $action_ids List of action IDs to migrate.
    	 */
    	public function migrate_actions( array $action_ids ) {
    		do_action( 'action_scheduler/migration_batch_starting', $action_ids );
    
    		\ActionScheduler::logger()->unhook_stored_action();
    		$this->destination_logger->unhook_stored_action();
    
    		foreach ( $action_ids as $source_action_id ) {
    			$destination_action_id = $this->action_migrator->migrate( $source_action_id );