WP_Theme_JSON_Resolver::get_file_path_from_theme()
Builds the path to the given file and checks that it is readable.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Builds the path to the given file and checks that it is readable.
Returns the data merged from multiple origins.
Returns the style variations defined by the theme.
Returns the theme’s data.
Returns the user’s origin config.
Returns the custom post type that contains the user’s origin config for the active theme or a void array if none are found.
Returns the ID of the custom post type that stores user data.
Processes a file that adheres to the theme.json schema and returns an array with its contents, or a void array if none found.
Determines whether the active theme has a theme.json file.
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.