WP_Paused_Extensions_Storage::is_api_loaded()protectedWP 5.2.0

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

Method of the class: WP_Paused_Extensions_Storage{}

No Hooks.

Return

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.6.2

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