action_scheduler/migrate_action_failed

action_scheduler/migrate_action_failed

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.6.3.1

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

  • /packages/action-scheduler/classes/migration/ActionMigrator.php line 75
    			$last_attempt_date = ( $status !== \ActionScheduler_Store::STATUS_PENDING ) ? $this->source->get_date( $source_action_id ) : null;
    
    			$destination_action_id = $this->destination->save_action( $action, null, $last_attempt_date );
    		} catch ( \Exception $e ) {
    			do_action( 'action_scheduler/migrate_action_failed', $source_action_id, $this->source, $this->destination );
    
    			return 0; // could not save the action in the new store
    		}
    
    		try {
    			switch ( $status ) {