WPDev.one
Core Function
View Source on Trac ↗

wp_get_duotone_filter_property()

wp_get_duotone_filter_property( mixed $preset )

Returns the CSS filter property url to reference the rendered SVG.

Parameters 1 required

Name / Type Description
$preset
array

Duotone preset value as seen in theme.json.

Required

Return Value

(string)
Duotone CSS filter property url value.

Function Information

Since Version
5.9.0
Source File
wp-includes/deprecated.php
Advertisement