ActionScheduler::is_class_abstract()
Determine if the class is one of our abstract classes.
Метод класса: ActionScheduler{}
Хуков нет.
Возвращает
true|false
.
Использование
$result = ActionScheduler::is_class_abstract( $class );
- $class(строка) (обязательный)
- The class name.
Список изменений
С версии 3.0.0 | Введена. |
Код ActionScheduler::is_class_abstract() ActionScheduler::is class abstract WC 9.2.3
protected static function is_class_abstract( $class ) { static $abstracts = array( 'ActionScheduler' => true, 'ActionScheduler_Abstract_ListTable' => true, 'ActionScheduler_Abstract_QueueRunner' => true, 'ActionScheduler_Abstract_Schedule' => true, 'ActionScheduler_Abstract_RecurringSchedule' => true, 'ActionScheduler_Lock' => true, 'ActionScheduler_Logger' => true, 'ActionScheduler_Abstract_Schema' => true, 'ActionScheduler_Store' => true, 'ActionScheduler_TimezoneHelper' => true, ); return isset( $abstracts[ $class ] ) && $abstracts[ $class ]; }