W3cubDocs

/WordPress

wp_paused_themes()

Get the instance for storing paused extensions.

Description

Return

(WP_Paused_Extensions_Storage)

Source

File: wp-includes/error-protection.php

function wp_paused_themes() {
	static $storage = null;

	if ( null === $storage ) {
		$storage = new WP_Paused_Extensions_Storage( 'theme' );
	}

	return $storage;
}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_paused_themes