WP_Theme_JSON::get_patterns()
Method: Returns the current theme’s wanted patterns(slugs) to be registered from Pattern Directory.
Source: wp-includes/class-wp-theme-json.php:2085
Method: Returns the current theme’s wanted patterns(slugs) to be registered from Pattern Directory.
Source: wp-includes/class-wp-theme-json.php:2085
Method: Returns a valid theme.json as provided by a theme.
Source: wp-includes/class-wp-theme-json.php:2102
Method: For metadata values that can either be booleans or paths to booleans, gets the value.
Source: wp-includes/class-wp-theme-json.php:1547
Method: Converts all filter (duotone) presets into SVGs.
Source: wp-includes/class-wp-theme-json.php:1655
Method: Returns whether a presets should be overridden or not.
Source: wp-includes/class-wp-theme-json.php:1692
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:1746
Method: Get a `default`’s preset name by a provided slug.
Source: wp-includes/class-wp-theme-json.php:1778
Method: Removes the preset values whose slug is equal to any of given slugs.
Source: wp-includes/class-wp-theme-json.php:1801
Method: Removes insecure data from theme.json.
Source: wp-includes/class-wp-theme-json.php:1824
Method: Processes a setting node and returns the same node without the insecure settings.
Source: wp-includes/class-wp-theme-json.php:1884
Method: Processes a style node and returns the same node without the insecure styles.
Source: wp-includes/class-wp-theme-json.php:1941
Method: Checks that a declaration provided by the user is safe.
Source: wp-includes/class-wp-theme-json.php:1969
Method: Gets preset values keyed by slugs based on settings and metadata.
Source: wp-includes/class-wp-theme-json.php:1101
Method: Similar to get_settings_values_by_slug, but doesn’t compute the value.
Source: wp-includes/class-wp-theme-json.php:1143
Method: Transform a slug into a CSS Custom Property.
Source: wp-includes/class-wp-theme-json.php:1174
Method: Returns the page templates of the active theme.
Source: wp-includes/class-wp-theme-json.php:739
Method: Returns the template part data of active theme.
Source: wp-includes/class-wp-theme-json.php:763
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:800
Method: Creates new rulesets as classes for each preset value such as:
Source: wp-includes/class-wp-theme-json.php:889
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:1051
Method: Enables some opt-in settings if theme declared support.
Source: wp-includes/class-wp-theme-json.php:433
Method: Enables some settings.
Source: wp-includes/class-wp-theme-json.php:461
Method: Merge new incoming data.
Source: wp-includes/class-wp-theme-json.php:1570
Method: Returns the raw data.
Source: wp-includes/class-wp-theme-json.php:1982
Method: Transforms the given editor settings according the add_theme_support format to the theme.json format.
Source: wp-includes/class-wp-theme-json.php:1995
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:1225
Method: Given a tree, it creates a flattened one by merging the keys and binding the leaf values to the new keys.
Source: wp-includes/class-wp-theme-json.php:1276
Method: Given a styles array, it extracts the style properties and adds them to the $declarations array following the format:
Source: wp-includes/class-wp-theme-json.php:1315
Method: Whether the metadata contains a key named properties.
Source: wp-includes/class-wp-theme-json.php:922
Method: Returns the style property for the given path.
Source: wp-includes/class-wp-theme-json.php:1369