WP_Theme_JSON::set_spacing_sizes()
Method: Sets the spacingSizes array based on the spacingScale values from theme.json.
Source: wp-includes/class-wp-theme-json.php:2934
Method: Sets the spacingSizes array based on the spacingScale values from theme.json.
Source: wp-includes/class-wp-theme-json.php:2934
Method: Gets the CSS rules for a particular block from theme.json.
Source: wp-includes/class-wp-theme-json.php:2006
Method: Outputs the CSS for layout rules on the root.
Source: wp-includes/class-wp-theme-json.php:2138
Filter Hook: Filters the list of style nodes with metadata.
Source: wp-includes/class-wp-theme-json.php:1914
Method: A public helper to get the block nodes from a theme.json file.
Source: wp-includes/class-wp-theme-json.php:1924
Method: An internal method to get the block nodes from a theme.json file.
Source: wp-includes/class-wp-theme-json.php:1936
Method: Gets the CSS layout rules for a particular block from theme.json layout definitions.
Source: wp-includes/class-wp-theme-json.php:1021
Method: Returns a class name by an element name.
Source: wp-includes/class-wp-theme-json.php:456
Method: Returns the current theme’s wanted patterns(slugs) to be registered from Pattern Directory.
Source: wp-includes/class-wp-theme-json.php:2788
Method: Returns a valid theme.json as provided by a theme.
Source: wp-includes/class-wp-theme-json.php:2805
Method: Converts all filter (duotone) presets into SVGs.
Source: wp-includes/class-wp-theme-json.php:2337
Method: For metadata values that can either be booleans or paths to booleans, gets the value.
Source: wp-includes/class-wp-theme-json.php:2229
Method: Determines whether a presets should be overridden or not.
Source: wp-includes/class-wp-theme-json.php:2374
Method: 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.
Source: wp-includes/class-wp-theme-json.php:2428
Method: Gets a `default`’s preset name by a provided slug.
Source: wp-includes/class-wp-theme-json.php:2460
Method: Removes the preset values whose slug is equal to any of given slugs.
Source: wp-includes/class-wp-theme-json.php:2483
Method: Removes insecure data from theme.json.
Source: wp-includes/class-wp-theme-json.php:2506
Method: Processes a setting node and returns the same node without the insecure settings.
Source: wp-includes/class-wp-theme-json.php:2587
Method: Processes a style node and returns the same node without the insecure styles.
Source: wp-includes/class-wp-theme-json.php:2644
Method: Checks that a declaration provided by the user is safe.
Source: wp-includes/class-wp-theme-json.php:2672
Method: Similar to get_settings_values_by_slug, but doesn’t compute the value.
Source: wp-includes/class-wp-theme-json.php:1456
Method: Transforms a slug into a CSS Custom Property.
Source: wp-includes/class-wp-theme-json.php:1487
Method: Returns the page templates of the active theme.
Source: wp-includes/class-wp-theme-json.php:938
Method: Returns the template part data of active theme.
Source: wp-includes/class-wp-theme-json.php:962
Method: Converts each style section into a list of rulesets containing the block styles to be appended to the stylesheet.
Source: wp-includes/class-wp-theme-json.php:1000
Method: Creates new rulesets as classes for each preset value such as:
Source: wp-includes/class-wp-theme-json.php:1225
Method: Function that scopes a selector with another one. This works a bit like SCSS nesting except the `&` operator isn’t supported.
Source: wp-includes/class-wp-theme-json.php:1364
Method: Gets preset values keyed by slugs based on settings and metadata.
Source: wp-includes/class-wp-theme-json.php:1414
Method: Enables some opt-in settings if theme declared support.
Source: wp-includes/class-wp-theme-json.php:537
Method: Enables some settings.
Source: wp-includes/class-wp-theme-json.php:565