WP_Theme_JSON::convert_variables_to_value()
Method: Replaces CSS variables with their values in place.
Source: wp-includes/class-wp-theme-json.php:3691
Method: Replaces CSS variables with their values in place.
Source: wp-includes/class-wp-theme-json.php:3691
Method: Resolves the values of CSS variables in the given styles.
Source: wp-includes/class-wp-theme-json.php:3737
Method: This is used to convert the internal representation of variables to the CSS representation.
Source: wp-includes/class-wp-theme-json.php:3476
Method: Given a tree, converts the internal representation of variables to the CSS representation.
Source: wp-includes/class-wp-theme-json.php:3501
Method: Returns the selectors metadata for a block.
Source: wp-includes/class-wp-theme-json.php:3525
Method: Generates all the element selectors for a block.
Source: wp-includes/class-wp-theme-json.php:3549
Method: Generates style declarations for a node’s features e.g., color, border, typography etc. that have custom selectors in their related block’s metadata.
Source: wp-includes/class-wp-theme-json.php:3585
Method: Prepends a sub-selector to an existing one.
Source: wp-includes/class-wp-theme-json.php:850
Method: Removes indirect properties from the given input node and sets in the given output node.
Source: wp-includes/class-wp-theme-json.php:3063
Method: Returns a filtered declarations array if there is a separator block with only a background style defined in theme.json by adding a color attribute to reflect the changes in the front.
Source: wp-includes/class-wp-theme-json.php:2200
Method: Processes the CSS, to apply nesting.
Source: wp-includes/class-wp-theme-json.php:1134
Method: Returns the global styles custom CSS.
Source: wp-includes/class-wp-theme-json.php:1154
Method: Sets the spacingSizes array based on the spacingScale values from theme.json.
Source: wp-includes/class-wp-theme-json.php:3352
Method: Gets the CSS rules for a particular block from theme.json.
Source: wp-includes/class-wp-theme-json.php:2324
Method: Outputs the CSS for layout rules on the root.
Source: wp-includes/class-wp-theme-json.php:2474
Filter Hook: Filters the list of style nodes with metadata.
Source: wp-includes/class-wp-theme-json.php:2177
Method: A public helper to get the block nodes from a theme.json file.
Source: wp-includes/class-wp-theme-json.php:2187
Method: An internal method to get the block nodes from a theme.json file.
Source: wp-includes/class-wp-theme-json.php:2238
Method: Gets the CSS layout rules for a particular block from theme.json layout definitions.
Source: wp-includes/class-wp-theme-json.php:1263
Method: Returns a class name by an element name.
Source: wp-includes/class-wp-theme-json.php:545
Method: Returns the current theme’s wanted patterns(slugs) to be registered from Pattern Directory.
Source: wp-includes/class-wp-theme-json.php:3187
Method: Returns a valid theme.json as provided by a theme.
Source: wp-includes/class-wp-theme-json.php:3204
Method: Converts all filter (duotone) presets into SVGs.
Source: wp-includes/class-wp-theme-json.php:2681
Method: For metadata values that can either be booleans or paths to booleans, gets the value.
Source: wp-includes/class-wp-theme-json.php:2564
Method: Determines whether a presets should be overridden or not.
Source: wp-includes/class-wp-theme-json.php:2718
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:2772
Method: Gets a `default`’s preset name by a provided slug.
Source: wp-includes/class-wp-theme-json.php:2809
Method: Removes the preset values whose slug is equal to any of given slugs.
Source: wp-includes/class-wp-theme-json.php:2833
Method: Removes insecure data from theme.json.
Source: wp-includes/class-wp-theme-json.php:2856
Method: Processes a setting node and returns the same node without the insecure settings.
Source: wp-includes/class-wp-theme-json.php:2952