action_scheduler/migrated_action

action_scheduler/migrated_action

Hook Type: action

See hook in core

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

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

  • /vendor/woocommerce/action-scheduler/classes/migration/ActionMigrator.php line 97
    093
    094
    095
    096
    097
    098
    099
    100
    101
    102
    103
        $test_action = $this->source->fetch_action( $source_action_id );
        if ( ! is_a( $test_action, 'ActionScheduler_NullAction' ) ) {
            throw new \RuntimeException( sprintf( __( 'Unable to remove source migrated action %s', 'action-scheduler' ), $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 );
  • /vendor/woocommerce/action-scheduler/classes/migration/ActionMigrator.php line 104

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

    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
            } 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;
            }
        }
    }