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


Lines:

1 to 29 of 29
<?php

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

/* 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() – Return core’s origin config. */
/* function WP_Theme_JSON_Resolver::get_theme_data() – Returns the theme’s data. */
/* 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 current 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 */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,