WPDev.one
Core Function
View Source on Trac ↗

wp_get_duotone_filter_id()

wp_get_duotone_filter_id( mixed $preset )

Returns the prefixed id for the duotone filter for use as a CSS id.

Parameters 1 required

Name / Type Description
$preset
array

Duotone preset value as seen in theme.json.

Required

Return Value

(string)
Duotone filter CSS id.

Function Information

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