| 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 |
|