W3cubDocs

/WordPress

WP_Paused_Extensions_Storage::is_api_loaded(): bool

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

Return

bool True if the API is loaded, false otherwise.

Source

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

Changelog

Version Description
5.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_paused_extensions_storage/is_api_loaded