W3cubDocs

/WordPress

WP_Paused_Extensions_Storage::is_api_loaded()

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

Return

(bool) True if the API is loaded, false otherwise.

Source

File: wp-includes/class-wp-paused-extensions-storage.php

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

Changelog

Version Description
5.2.0 Introduced.

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