WordPress at Your Fingertips
function is not described


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.


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


$Scheduler = new Scheduler();

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 );