wp_render_duotone_filter_preset


wp_render_duotone_filter_preset ( $preset )

Parameters:
  • (array) preset Duotone preset value as seen in theme.json.
See:
Returns:
  • (string) Duotone CSS filter property.
Defined at:

Description

Renders the duotone filter SVG and returns the CSS filter property to reference the rendered SVG.

Related Functions

wp_get_duotone_filter_property, wp_get_duotone_filter_svg, wp_get_duotone_filter_id, wp_render_duotone_support, wp_register_duotone_support

Top Google Results

User discussions

wpseek mobile