Parsed: 129666

<?php

/**
 * WP_Theme_JSON_Resolver class
 *
 * @package WordPress
 * @subpackage Theme
 * @since 5.8.0
 */

#[AllowDynamicProperties]
/* class WP_Theme_JSON_Resolver */
/* function WP_Theme_JSON_Resolver::read_json_file() – Processes a file that adheres to the theme.json schema
and returns an array with its contents, or a void array if none found. */
/* function WP_Theme_JSON_Resolver::get_fields_to_translate() – Returns a data structure used in theme.json translation. */
/* function WP_Theme_JSON_Resolver::translate() – Given a theme.json structure modifies it in place to update certain values
by its translated strings according to the language set by the user. */
/* function WP_Theme_JSON_Resolver::get_core_data() – Returns core’s origin config. */
/* function WP_Theme_JSON_Resolver::has_same_registered_blocks() – Checks whether the registered blocks were already processed for this origin. */
/* function WP_Theme_JSON_Resolver::get_theme_data() – Returns the theme’s data. */
/* function WP_Theme_JSON_Resolver::get_block_data() – Gets the styles for blocks from the block.json file. */
/* function WP_Theme_JSON_Resolver::remove_json_comments() – When given an array, this will remove any keys with the name `//`. */
/* function WP_Theme_JSON_Resolver::get_user_data_from_wp_global_styles() – Returns the custom post type that contains the user’s origin config
for the active theme or a void array if none are found. */
/* function WP_Theme_JSON_Resolver::get_user_data() – Returns the user’s origin config. */
/* function WP_Theme_JSON_Resolver::get_merged_data() – Returns the data merged from multiple origins. */
/* function WP_Theme_JSON_Resolver::get_user_global_styles_post_id() – Returns the ID of the custom post type
that stores user data. */
/* function WP_Theme_JSON_Resolver::theme_has_support() – Whether the current theme has a theme.json file. */
/* function WP_Theme_JSON_Resolver::get_file_path_from_theme() – Builds the path to the given file and checks that it is readable. */
/* function WP_Theme_JSON_Resolver::clean_cached_data() – Cleans the cached data so it can be recalculated. */
/* function WP_Theme_JSON_Resolver::get_style_variations() – Returns the style variations defined by the theme. */