WP_Paused_Extensions_Storage::is_api_loaded() WordPress Method

The WP_Paused_Extensions_Storage::is_api_loaded() method is used to determine whether the WordPress Paused Extensions Storage API is loaded. This method can be useful for plugin and theme developers who need to know whether the WordPress Paused Extensions Storage API is available.

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.


Top ↑

Source

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

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


Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.