wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_duotone_filter_svg › WordPress Function

Since5.9.1
Deprecated6.3.0
wp_get_duotone_filter_svg ( $preset )
Access:
  • private
Parameters:
  • (array) $preset Duotone preset value as seen in theme.json.
    Required: Yes
Returns:
  • (string) Duotone SVG filter.
Defined at:
Codex:

Returns the duotone filter SVG string for the preset.



Source

function wp_get_duotone_filter_svg( $preset ) {
	_deprecated_function( __FUNCTION__, '6.3.0' );
	return WP_Duotone::get_filter_svg_from_preset( $preset );
}