mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-12 19:26:35 +09:00
797bc2fd98
git-subtree-dir: includes/lib/action-scheduler git-subtree-split: c828347715e6c3318c8ab8b4fea2d87b31d51aac
29 lines
481 B
PHP
29 lines
481 B
PHP
<?php
|
|
|
|
|
|
namespace Action_Scheduler\Migration;
|
|
|
|
/**
|
|
* Class DryRun_ActionMigrator
|
|
*
|
|
* @package Action_Scheduler\Migration
|
|
*
|
|
* @since 3.0.0
|
|
*
|
|
* @codeCoverageIgnore
|
|
*/
|
|
class DryRun_ActionMigrator extends ActionMigrator {
|
|
/**
|
|
* Simulate migrating an action.
|
|
*
|
|
* @param int $source_action_id Action ID.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function migrate( $source_action_id ) {
|
|
do_action( 'action_scheduler/migrate_action_dry_run', $source_action_id );
|
|
|
|
return 0;
|
|
}
|
|
}
|