WordPress at Your Fingertips
function is not described

Action_Scheduler\Migration

DryRun_ActionMigrator::migrate() public WC 1.0

Simulate migrating an action.

{} It's a 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.

Code of DryRun_ActionMigrator::migrate() WC 6.1.1

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

	return 0;
}