wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_get_duotone_filter_id › WordPress Function

Od5.9.1
Przestarzały6.3.0
wp_get_duotone_filter_id ( $preset )
Dostęp:
  • private
Parametry:
  • (array) $preset Duotone preset value as seen in theme.json.
    Wymagane: Tak
Powrót:
  • (string) Duotone filter CSS id.
Zdefiniowane na:
Codex:

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



Źródło

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