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: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: 5.9.1
Description
Renders the duotone filter SVG and returns the CSS filter property to
reference the rendered SVG.