wp_paused_plugins

The timeline below displays how wordpress function wp_paused_plugins has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.4

/**
 * Error Protection API: Functions
 *
 * @package WordPress
 * @since 5.2.0
 */
/**
 * Get the instance for storing paused plugins.
 *
 * @return WP_Paused_Extensions_Storage
 */
function wp_paused_plugins()
{
    static $storage = null;
    if (null === $storage) {
        $storage = new WP_Paused_Extensions_Storage('plugin');
    }
    return $storage;
}

WordPress Version: 5.2

/**
 * Error Protection API: Functions
 *
 * @package WordPress
 * @since   5.2.0
 */
/**
 * Get the instance for storing paused plugins.
 *
 * @return WP_Paused_Extensions_Storage
 */
function wp_paused_plugins()
{
    static $storage = null;
    if (null === $storage) {
        $storage = new WP_Paused_Extensions_Storage('plugin');
    }
    return $storage;
}