ActionMigrator.php
6 years ago
ActionScheduler_DBStoreMigrator.php
6 years ago
BatchFetcher.php
6 years ago
Config.php
6 years ago
Controller.php
5 years ago
DryRun_ActionMigrator.php
6 years ago
DryRun_LogMigrator.php
6 years ago
LogMigrator.php
6 years ago
Runner.php
6 years ago
Scheduler.php
6 years ago
DryRun_ActionMigrator.php
29 lines
| 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 ); |
| 25 | |
| 26 | return 0; |
| 27 | } |
| 28 | } |
| 29 |