wp_render_duotone_filter_preset


wp_render_duotone_filter_preset ( $preset )

Access:
  • private
Parameters:
  • (array) preset Duotone preset value as seen in theme.json.
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_render_duotone_support, wp_register_duotone_support, wp_make_theme_file_tree, wp_make_plugin_file_tree, wp_print_theme_file_tree

Top Google Results

User discussions

wpseek mobile