WP_Theme_JSON::compute_theme_vars()

Method: Given an array of settings, it extracts the CSS Custom Properties for the custom values and adds them to the $declarations array following the format:

Source: wp-includes/class-wp-theme-json.php:784

Used by 1 function | Uses 2 functions

WP_Theme_JSON

Class: Class that encapsulates the processing of structures that adhere to the theme.json spec.

Source: wp-includes/class-wp-theme-json.php:15

Used by 0 functions | Uses 0 functions