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



wp_get_duotone_filter_property › WordPress Function

Since5.9.0
Deprecated6.3.0
wp_get_duotone_filter_property ( $preset )
Access:
  • private
Parameters:
  • (array) $preset Duotone preset value as seen in theme.json.
    Required: Yes
Returns:
  • (string) Duotone CSS filter property url value.
Defined at:
Codex:
Change Log:
  • 6.1.0

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



Source

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