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:

Description

Given an element name, returns a class name.Alias of WP_Theme_JSON::get_element_class_name.

Related Functions

wp_get_elements_class_name, wp_render_elements_class_name, wp_should_add_elements_class_name, _wp_get_presets_class_name, wp_get_block_default_classname

Top Google Results

User discussions

wpseek mobile