WPDev.one
Core Class

WP_Paused_Extensions_Storage

class WP_Paused_Extensions_Storage // Constructor: function Object() { [native code] }

Core class used for storing paused extensions.

Methods 8 methods

Method / Return Description
__construct()
void

Constructor.

Parameters: $extension_type: mixed
set()
bool

Records an extension error.

Parameters: $extension: mixed, $error: mixed
delete()
bool

Forgets a previously recorded extension error.

Parameters: $extension: mixed
get()
(array

Gets the error for an extension, if paused.

Parameters: $extension: mixed
get_all()
array

Gets the paused extensions with their errors.

delete_all()
bool

Remove all paused extensions.

is_api_loaded()
bool

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

get_option_name()
string

Get the option name for storing paused extensions.

Properties

Property / Type Description
$type
mixed
public
No description available.

Class Information

Since Version
5.2.0
Source File
wp-includes/class-wp-paused-extensions-storage.php
Advertisement