wp_theme_get_element_class_name
wp_theme_get_element_class_name ( $element )
Parameters:- (string) element The name of the element.
Returns:- (string) The name of the class.
Defined at: - Introduced in WordPress: 6.1.0
- Deprecated in WordPress: —
Description
Given an element name, returns a class name.Alias of WP_Theme_JSON::get_element_class_name.