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.
Source
File: wp-includes/class-wp-paused-extensions-storage.php
protected function is_api_loaded() { return function_exists( 'get_option' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |