action_scheduler/migrated_action

action_scheduler/migrated_action

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.2.2

do_action('action_scheduler/migrated_action') is found 2 times:

  • /packages/action-scheduler/classes/migration/ActionMigrator.php line 98
    094
    095
    096
    097
    098
    099
    100
    101
    102
    103
    104
        if ( ! is_a( $test_action, 'ActionScheduler_NullAction' ) ) {
            // translators: %s is an action ID.
            throw new \RuntimeException( sprintf( __( 'Unable to remove source migrated action %s', 'woocommerce' ), $source_action_id ) );
        }
        do_action( 'action_scheduler/migrated_action', $source_action_id, $destination_action_id, $this->source, $this->destination );
     
        return $destination_action_id;
    } catch ( \Exception $e ) {
        // could not delete from the old store
        $this->source->mark_migrated( $source_action_id );
        do_action( 'action_scheduler/migrate_action_incomplete', $source_action_id, $destination_action_id, $this->source, $this->destination );
  • /packages/action-scheduler/classes/migration/ActionMigrator.php line 105

    Warning: Undefined array key 110 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
            } catch ( \Exception $e ) {
                // could not delete from the old store
                $this->source->mark_migrated( $source_action_id );
                do_action( 'action_scheduler/migrate_action_incomplete', $source_action_id, $destination_action_id, $this->source, $this->destination );
                do_action( 'action_scheduler/migrated_action', $source_action_id, $destination_action_id, $this->source, $this->destination );
     
                return $destination_action_id;
            }
        }
    }