Noptin_Task::is_usable()
Checks whether ActionScheduler is loaded and is not migrating.
Return Return
(bool)
Source Source
File: includes/class-noptin-task.php
public function is_usable() { // No tasks if ActionScheduler wasn't loaded. if ( ! class_exists( 'ActionScheduler_DataController' ) ) { return false; } // No tasks if ActionScheduler has not migrated. if ( ! ActionScheduler_DataController::is_migration_complete() ) { return false; } return true; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.2.7 | Introduced. |