Action_Scheduler\Migration

DryRun_ActionMigrator::migrate()publicWC 1.0

Simulate migrating an action.

Method of the class: DryRun_ActionMigrator{}

Return

Int.

Usage

$DryRun_ActionMigrator = new DryRun_ActionMigrator();
$DryRun_ActionMigrator->migrate( $source_action_id );
$source_action_id(int) (required)
Action ID.

DryRun_ActionMigrator::migrate() code WC 7.3.0

public function migrate( $source_action_id ) {
	do_action( 'action_scheduler/migrate_action_dry_run', $source_action_id );

	return 0;
}