Returns the prefixed id for the duotone filter for use as a CSS id.
Parameters
$preset
arrayrequired- Duotone preset value as seen in theme.json.
Source
function wp_get_duotone_filter_id( $preset ) {
_deprecated_function( __FUNCTION__, '6.3.0' );
return WP_Duotone::get_filter_id_from_preset( $preset );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.