wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_render_duotone_filter_preset › WordPress Function

Desde5.9.0
Obsoleto5.9.1
wp_render_duotone_filter_preset ( $preset )
Parâmetros:
  • (array) $preset Duotone preset value as seen in theme.json.
    Required: Yes
Ver:
Retorna:
  • (string) Duotone CSS filter property.
Definido em:
Codex:

Renders the duotone filter SVG and returns the CSS filter property to reference the rendered SVG.



Fonte

function wp_render_duotone_filter_preset( $preset ) {
	_deprecated_function( __FUNCTION__, '5.9.1', 'wp_get_duotone_filter_property()' );

	return wp_get_duotone_filter_property( $preset );
}