WordPress at Your Fingertips
function is not described

Action_Scheduler\Migration

Scheduler::is_migration_scheduled() public WC 1.0

Get a flag indicating whether the migration is scheduled.

{} It's a method of the class: Scheduler{}

No Hooks.

Return

true|false. Whether there is a pending action in the store to handle the migration

Usage

$Scheduler = new Scheduler();
$Scheduler->is_migration_scheduled();

Code of Scheduler::is_migration_scheduled() WC 6.1.1

public function is_migration_scheduled() {
	$next = as_next_scheduled_action( self::HOOK );

	return ! empty( $next );
}