ActionScheduler_SystemInformation::get_sourcespublic staticWC 1.0

Get registered sources.

It is not always possible to obtain this information. For instance, if earlier versions (<=3.9.0) of Action Scheduler register themselves first, then the necessary data about registered sources will not be available.

Метод класса: ActionScheduler_SystemInformation{}

Хуков нет.

Возвращает

Массив<Строку,. string>

Использование

$result = ActionScheduler_SystemInformation::get_sources();

Код ActionScheduler_SystemInformation::get_sources() WC 10.0.2

public static function get_sources() {
	$versions = ActionScheduler_Versions::instance();
	return method_exists( $versions, 'get_sources' ) ? $versions->get_sources() : array();
}