WP_Theme::get_post_templates()
Returns the theme’s post templates.
Returns the theme’s post templates.
Constructor.
Function that appends a sub-selector to a existing one.
Given a settings array, it returns the generated rulesets for the preset classes.
Given the block settings, it extracts the CSS Custom Properties for the presets and adds them to the $declarations array following the format:
Given a styles array, it extracts the style properties and adds them to the $declarations array following the format:
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:
Given a tree, it creates a flattened one by merging the keys and binding the leaf values to the new keys.
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.