WP_Theme_JSON::get_block_classes()
Converts each style section into a list of rulesets containing the block styles to be appended to the stylesheet.
Converts each style section into a list of rulesets containing the block styles to be appended to the stylesheet.
Converts each style section into a list of rulesets containing the block styles to be appended to the stylesheet.
Returns the metadata for each block.
Converts each styles section into a list of rulesets to be appended to the stylesheet.
Returns the page templates of the active theme.
Returns a valid theme.json as provided by a theme.
Returns the default slugs for all the presets in an associative array whose keys are the preset paths and the leafs is the list of slugs.
Transforms the given editor settings according the add_theme_support format to the theme.json format.
Given an array of presets keyed by origin and the value key of the preset, it returns an array where each key is the preset slug and each…
For metadata values that can either be booleans or paths to booleans, gets the value.