New and updated in 5.8.0
-
functionwp_render_elements_support()
Updates the block content with elements class names.
-
functionwp_register_duotone_support()
Registers the style and colors block attributes for block types that support it.
-
functionwp_render_duotone_support()
Renders out the duotone stylesheet and SVG.
-
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_tinycolor_bound01()
Takes input from [0, n] and returns it as [0, 1].
-
functionwp_tinycolor_rgb_to_rgb()
Rounds and converts values of an RGB object.
-
functionwp_tinycolor_hue_to_rgb()
Helper function for hsl to rgb conversion.
-
functionwp_tinycolor_hsl_to_rgb()
Converts an HSL object to an RGB object with converted and rounded values.
-
Generates an inline style for a typography feature e.g. text decoration, text transform, and font style.
-
functionwp_skip_border_serialization()
Checks whether serialization of the current block’s border properties should occur.
-
Converts each style section into a list of rulesets containing the block styles to be appended to the stylesheet.
-
Filters the number of revisions to save for the given post by its post type.
-
Constructor.
-
Contains information about a block editor being rendered.
-
function_load_remote_block_patterns()
Register Core’s official patterns from wordpress.org/patterns.
-
Filter to disable remote block patterns.
-
Filters whether to enable loading of the object-cache.php drop-in.