WP_Theme_JSON_Resolver::clean_cached_data()

Cleans the cached data so it can be recalculated.


Source 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;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
5.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.