A WordPress-centric search engine for devs and theme authors



wp_paused_themes ›

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

Gets the instance for storing paused themes.



Source

function wp_paused_themes() {
	static $wp_paused_themes_storage = null;

	if ( null === $wp_paused_themes_storage ) {
		$wp_paused_themes_storage = new WP_Paused_Extensions_Storage( 'paused_themes', 'paused_theme_' );
	}

	return $wp_paused_themes_storage;
}