wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_duotone_filter_id › WordPress Function

Since5.9.1
Deprecated6.3.0
wp_get_duotone_filter_id ( $preset )
Access:
  • private
Parameters:
  • (array) $preset Duotone preset value as seen in theme.json.
    Required: Yes
Returns:
  • (string) Duotone filter CSS id.
Defined at:
Codex:

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



Source

function wp_get_duotone_filter_id( $preset ) {
	_deprecated_function( __FUNCTION__, '6.3.0' );
	return WP_Duotone::get_filter_id_from_preset( $preset );
}