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



wp_render_duotone_filter_preset › WordPress Function

Since5.9.0
Deprecated5.9.1
wp_render_duotone_filter_preset ( $preset )
Parameters:
  • (array) $preset Duotone preset value as seen in theme.json.
    Required: Yes
See:
Returns:
  • (string) Duotone CSS filter property.
Defined at:
Codex:

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



Source

function wp_render_duotone_filter_preset( $preset ) {
	_deprecated_function( __FUNCTION__, '5.9.1', 'wp_get_duotone_filter_property()' );

	return wp_get_duotone_filter_property( $preset );
}