File: wp-includes/deprecated.php
-
Generate block style variation instance name.
-
functionwp_render_elements_support()
Updates the block content with elements class names.
-
Ensure that the view script has the `wp-interactivity` dependency.
-
Ensures that the view script has the `wp-interactivity` dependency.
-
Ensure that the view script has the `wp-interactivity` dependency.
-
Processes the directives on the rendered HTML of the interactive blocks.
-
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.
-
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_get_duotone_filter_property()
Returns the CSS filter property url to reference the rendered SVG.
-
functionwp_get_duotone_filter_svg()
Returns the duotone filter SVG string for the preset.
-
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_id()
Returns the prefixed id for the duotone filter for use as a CSS id.
-
functionwp_tinycolor_bound01()
Takes input from [0, n] and returns it as [0, 1].
-
function_wp_tinycolor_bound_alpha()
Direct port of tinycolor’s boundAlpha function to maintain consistency with how tinycolor works.
-
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.
-
Enqueues the global styles custom css defined via theme.json.
-
Gets the global styles custom CSS from theme.json.
-
Generates an inline style for a typography feature e.g. text decoration, text transform, and font style.
-
functionwp_img_tag_add_decoding_attr()
Adds `decoding` attribute to an `img` HTML tag.
-
Returns a string containing the SVGs to be referenced as filters (duotone).
-
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.
-
functionwp_skip_border_serialization()
Checks whether serialization of the current block’s border properties should occur.
-
Checks whether serialization of the current block’s dimensions properties should occur.
-
function_resolve_home_block_template()
Returns the correct template for the site’s home page.
-
Runs the theme.json webfonts handler.
-
Renders the SVG filters supplied by theme.json.