Action_Scheduler\Migration
DryRun_ActionMigrator::migrate()
Simulate migrating an action.
Метод класса: DryRun_ActionMigrator{}
Хуки из метода
Возвращает
int
.
Использование
$DryRun_ActionMigrator = new DryRun_ActionMigrator(); $DryRun_ActionMigrator->migrate( $source_action_id );
- $source_action_id(int) (обязательный)
- Action ID.
Код DryRun_ActionMigrator::migrate() DryRun ActionMigrator::migrate WC 9.4.2
public function migrate( $source_action_id ) { do_action( 'action_scheduler/migrate_action_dry_run', $source_action_id ); return 0; }