action_scheduler/migrate_action_failed
action_scheduler/migrate_action_failed
Appears in: all-in-one-seo-pack.4.7.0
Hook Type: action
Displaying hooks found in version: all-in-one-seo-pack.4.7.0do_action('action_scheduler/migrate_action_failed') is found 1 times:
- /vendor/woocommerce/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 ) {