action_scheduler/migrate_action_failed
action_scheduler/migrate_action_failed
Appears in: woocommerce.6.8.2
Hook Type: action
Displaying hooks found in version: woocommerce.6.8.2do_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 ) {