Core Function
View Source on Trac ↗ wp_render_duotone_filter_preset()
wp_render_duotone_filter_preset( mixed $preset ) Renders the duotone filter SVG and returns the CSS filter property to
Parameters 1 required
| Name / Type | Description |
|---|---|
| $preset array | Duotone preset value as seen in theme.json. Required |
Return Value
(string)
Duotone CSS filter property.
Function Information
Since Version
5.9.0
Source File
wp-includes/deprecated.php
Advertisement