New and updated in 5.9.0
-
Build an array with CSS classes and inline styles defining the colors which will be applied to the navigation markup in the front-end.
-
functionwp_tinycolor_string_to_rgb()
Parses hex, hsl, and rgb CSS strings using the same regex as TinyColor v1.4.2 used in the JavaScript. Only colors output from react-color are implemented.
-
functionwp_get_duotone_filter_property()
Returns the CSS filter property url to reference the rendered SVG.
-
function_wp_tinycolor_bound_alpha()
Direct port of tinycolor’s boundAlpha function to maintain consistency with how tinycolor works.
-
functionwp_skip_spacing_serialization()
Checks whether serialization of the current block’s spacing properties should occur.
-
Renders the duotone filter SVG and returns the CSS filter property to reference the rendered SVG.
-
Checks whether serialization of the current block’s dimensions properties should occur.
-
Filters whether to display the Language selector on the login screen.
-
Filters default arguments for the Languages select input on the login screen.
-
functionwp_get_post_revisions_url()
Returns the url for viewing and potentially restoring revisions of a given post.
-
functionwp_get_global_settings()
Gets the settings resulting of merging core, theme, and user data.
-
functionwp_get_global_styles()
Gets the styles resulting of merging core, theme, and user data.
-
functionwp_get_global_stylesheet()
Returns the stylesheet resulting of merging core, theme, and user data.
-
function_load_remote_featured_patterns()
Register `Featured` (category) patterns from wordpress.org/patterns.
-
Function that migrates a given theme.json structure to the last version.
-
Removes the custom prefixes for a few properties that were part of v1:
-
Processes the settings subtree.
-
Processes a settings array, renaming or moving properties.
-
Removes a property from within the provided settings by its path.
-
classWP_Theme_JSON_Schema
Class that migrates a given theme.json structure to the latest schema.
-
Returns the custom post type that contains the user’s origin config for the active theme or an empty array if none are found.
-
Returns the user’s origin config.
-
Returns the ID of the custom post type that stores user data.
-
Exposes the site icon through the WordPress REST API.
-
Exposes an image through the WordPress REST API.