WP_Paused_Extensions_Storage::is_api_loadedprotectedWP 5.2.0

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

Method of the class: WP_Paused_Extensions_Storage{}

No Hooks.

Returns

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

Usage

// protected - for code of main (parent) or child class
$result = $this->is_api_loaded();

Changelog

Since 5.2.0 Introduced.

WP_Paused_Extensions_Storage::is_api_loaded() code WP 6.8.3

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