Action_Scheduler\Migration
Scheduler::is_migration_scheduled
Get a flag indicating whether the migration is scheduled.
Method of the class: Scheduler{}
No Hooks.
Returns
true|false. 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 10.3.6
public function is_migration_scheduled() {
$next = as_next_scheduled_action( self::HOOK );
return ! empty( $next );
}