PluginProbe
Hostinger Tools / trunk
Hostinger Tools vtrunk
3.0.78 3.0.77 3.0.76 3.0.75 3.0.74 3.0.73 3.0.72 3.0.71 3.0.70 3.0.69 3.0.68 3.0.67 3.0.66 1.8.1 1.8.2 1.8.3 1.9.1 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 All 109 releases
hostinger / vendor / woocommerce / action-scheduler / classes / migration / DryRun_ActionMigrator.php

DryRun_ActionMigrator.php in Hostinger Tools trunk, at vendor/woocommerce/action-scheduler/classes/migration/DryRun_ActionMigrator.php

29 lines 554 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3
4 namespace Action_Scheduler\Migration;
5
6 /**
7 * Class DryRun_ActionMigrator
8 *
9 * @package Action_Scheduler\Migration
10 *
11 * @since 3.0.0
12 *
13 * @codeCoverageIgnore
14 */
15 class DryRun_ActionMigrator extends ActionMigrator {
16 /**
17 * Simulate migrating an action.
18 *
19 * @param int $source_action_id Action ID.
20 *
21 * @return int
22 */
23 public function migrate( $source_action_id ) {
24 do_action( 'action_scheduler/migrate_action_dry_run', $source_action_id ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
25
26 return 0;
27 }
28 }
29