Renders the duotone filter SVG and returns the CSS filter property to reference the rendered SVG.
$presetarrayrequired
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 );
}
| Version | Description |
|---|---|
| 5.9.1 | Use wp_get_duotone_filter_property() introduced in 5.9.1. |
| 5.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_render_duotone_filter_preset