WP_Paused_Extensions_Storage::is_api_loaded()protectedWP 5.2.0

Checks whether the underlying API to store paused extensions is loaded.

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

Хуков нет.

Возвращает

true|false. True if the API is loaded, false otherwise.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->is_api_loaded();

Список изменений

С версии 5.2.0 Введена.

Код WP_Paused_Extensions_Storage::is_api_loaded() WP 6.5.2

protected function is_api_loaded() {
	return function_exists( 'get_option' );
}