wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_theme_get_element_class_name › WordPress Function

Since6.1.0
已弃用n/a
wp_theme_get_element_class_name ( $element )
参数:
  • (string) $element The name of the element.
    Required: Yes
返回:
  • (string) The name of the class.
定义在:
文档:

Given an element name, returns a class name.

Alias of WP_Theme_JSON::get_element_class_name.


源码

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