action_scheduler/migrated_action
action_scheduler/migrated_action
Appears in: all-in-one-seo-pack.4.3.7
Hook Type: action
Displaying hooks found in version: all-in-one-seo-pack.4.3.7do_action('action_scheduler/migrated_action') is found 2 times:
- /vendor/woocommerce/action-scheduler/classes/migration/ActionMigrator.php line 97093094095096097098099100101102103
$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
100101102103104105106107108109}
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
;
}
}
}