wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_render_duotone_filter_preset › WordPress Function

Depuis5.9.0
Dépréciée5.9.1
wp_render_duotone_filter_preset ( $preset )
Paramètres:
  • (array) $preset Duotone preset value as seen in theme.json.
    Requis: Oui
Voir:
Retourne:
  • (string) Duotone CSS filter property.
Défini(e) dans:
Codex:

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



Source

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 );
}