New and updated in 5.9.1
-
functionwp_get_duotone_filter_id()
Returns the prefixed id for the duotone filter for use as a CSS id.
-
functionwp_get_duotone_filter_svg()
Returns the duotone filter SVG string for the preset.
-
Returns a string containing the SVGs to be referenced as filters (duotone).
-
Hooks inline styles in the proper place, depending on the active theme.
-
Renders the SVG filters supplied by theme.json.
-
Converts all filter (duotone) presets into SVGs.