wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_theme_get_element_class_name › WordPress Function

Since6.1.0
Deprecatedn/a
wp_theme_get_element_class_name ( $element )
Parameters:
  • (string) $element The name of the element.
    Required: Yes
Returns:
  • (string) The name of the class.
Defined at:
Codex:

Given an element name, returns a class name.

Alias of WP_Theme_JSON::get_element_class_name.


Source

function wp_theme_get_element_class_name( $element ) {
	return WP_Theme_JSON::get_element_class_name( $element );
}