add_cssclass()函数是Wordpress函数,添加一个css类
add_cssclass( string $add, string $class )
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$add | (string) | 必需 | |
$class | (string) | 必需 |
返回(Return)
(string)
源码(Source)
//暂无
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
wp-admin/includes/menu.php:194 | 1 function | 0 |
笔记(Notes)
处理菜单顺序时的用法
虽然函数名并不表示对其可用性有任何限制,但它是在wp admin/includes中定义的/menu.php菜单,因此无法立即在前端使用(并且可能不鼓励在前端使用)。