WP_Theme_JSON_Resolver::clean_cached_data()

Cleans the cached data so it can be recalculated.

Source

File: wp-includes/class-wp-theme-json-resolver.php

public static function clean_cached_data() {
		self::$core              = null;
		self::$theme             = null;
		self::$theme_has_support = null;
		self::$theme_json_i18n   = null;
	}

Changelog

Version Description
5.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_theme_json_resolver/clean_cached_data