wp_get_duotone_filter_svg
- %1$s is private and should not be used in themes or plugins directly.
- wp_get_duotone_filter_svg is deprecated since version 6.3.0!
wp_get_duotone_filter_svg ( $preset )
Access:Parameters:- (array) preset Duotone preset value as seen in theme.json.
Returns:- (string) Duotone SVG filter.
Defined at: - Introduced in WordPress: 5.9.1
- Deprecated in WordPress: 6.3.0
Description
Returns the duotone filter SVG string for the preset.