Action_Scheduler\Migration
Scheduler::is_migration_scheduled
Get a flag indicating whether the migration is scheduled.
Method of the class: Scheduler{}
No Hooks.
Returns
bool. Whether there is a pending action in the store to handle the migration
Usage
$Scheduler = new Scheduler(); $Scheduler->is_migration_scheduled();
Scheduler::is_migration_scheduled() Scheduler::is migration scheduled code WC 11.0.1
public function is_migration_scheduled() {
$next = as_next_scheduled_action( self::HOOK );
return ! empty( $next );
}