A WordPress-centric search engine for devs and theme authors



wp_paused_plugins ›

Since5.1.0
Deprecatedn/a
wp_paused_plugins ( No parameters )
Returns:
  • (WP_Paused_Extensions_Storage) Paused plugins storage.
Defined at:
Codex:

Gets the instance for storing paused plugins.



Source

function wp_paused_plugins() {
	static $wp_paused_plugins_storage = null;

	if ( null === $wp_paused_plugins_storage ) {
		$wp_paused_plugins_storage = new WP_Paused_Extensions_Storage( 'paused_plugins', 'paused_plugin_' );
	}

	return $wp_paused_plugins_storage;
}