WP_Theme_JSON_Resolver::clean_cached_data() – Cleans the cached data so it can be recalculated.

You appear to be a bot. Output may be restricted

Description

Cleans the cached data so it can be recalculated.

Usage

WP_Theme_JSON_Resolver::clean_cached_data();

Parameters

Returns

void

Source

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

1 to 8 of 8
  public static function clean_cached_data() {
    static::$core                     = null;
    static::$theme                    = null;
    static::$user                     = null;
    static::$user_custom_post_type_id = null;
    static::$theme_has_support        = null;
    static::$i18n_schema              = null;
  }
 

 View on GitHub View on Trac