action_scheduler/no_action_to_migrate хук-событие . WC 1.0
nothing to do, it didn't exist in the first place
Использование
add_action( 'action_scheduler/no_action_to_migrate', 'action_function_name_9689', 10, 3 ); function action_function_name_9689( $source_action_id, $source, $destination ){ // action... }
- $source_action_id
- -
- $source
- -
- $destination
- -
Где вызывается хук
action_scheduler/no_action_to_migrate
woocommerce/packages/action-scheduler/classes/migration/ActionMigrator.php 63
do_action( 'action_scheduler/no_action_to_migrate', $source_action_id, $this->source, $this->destination );
Где используется хук в ядре WooCommerce
woocommerce/packages/action-scheduler/classes/WP_CLI/Migration_Command.php 129
add_action( 'action_scheduler/no_action_to_migrate', function ( $action_id ) {