wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_get_duotone_filter_property › WordPress Function

Since5.9.0
已弃用6.3.0
wp_get_duotone_filter_property ( $preset )
访问:
  • private
参数:
  • (array) $preset Duotone preset value as seen in theme.json.
    Required: Yes
返回:
  • (string) Duotone CSS filter property url value.
定义在:
文档:
Change Log:
  • 6.1.0

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



源码

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