action_scheduler/migrate_action_dry_run action-hook . WC 1.0
Simulate migrating an action.
Usage
add_action( 'action_scheduler/migrate_action_dry_run', 'action_function_name_1913' ); function action_function_name_1913( $source_action_id ){ // action... }
- $source_action_id(int)
- Action ID.
Where the hook is called
action_scheduler/migrate_action_dry_run
woocommerce/packages/action-scheduler/classes/migration/DryRun_ActionMigrator.php 24
do_action( 'action_scheduler/migrate_action_dry_run', $source_action_id );
Where in WP core the hook is used WooCommerce
woocommerce/packages/action-scheduler/classes/WP_CLI/Migration_Command.php 126
add_action( 'action_scheduler/migrate_action_dry_run', function ( $action_id ) {