WP_Theme_JSON::get_name_from_defaults()
Get a default‘s preset name by a provided slug.
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.
Get a default‘s preset name by a provided slug.
Returns the current theme’s wanted patterns(slugs) to be registered from Pattern Directory.
Creates new rulesets as classes for each preset value such as:
Returns the style property for the given path.
Returns the raw data.
Builds metadata for the setting nodes, which returns in the form of:
Returns the existing settings for each block.
Similar to get_settings_values_by_slug, but doesn’t compute the value.
Gets preset values keyed by slugs based on settings and metadata.
Builds metadata for the style nodes, which returns in the form of: