Given an element name, returns a class name.
Description
Alias of WP_Theme_JSON::get_element_class_name.
Parameters
$element
stringrequired- The name of the element.
Source
function wp_theme_get_element_class_name( $element ) {
return WP_Theme_JSON::get_element_class_name( $element );
}
Changelog
Version | Description |
---|---|
6.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.