WordPress at Your Fingertips
function is not described

ActionScheduler::is_class_abstract() protected WC 3.0.0

Determine if the class is one of our abstract classes.

{} It's a method of the class: ActionScheduler{}

No Hooks.

Return

true|false.

Usage

$result = ActionScheduler::is_class_abstract( $class );
$class(string) (required)
The class name.

Changelog

Since 3.0.0 Introduced.

Code of ActionScheduler::is_class_abstract() WC 6.1.0

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 ];
}