跳到主要内容

add_action

添加一个菜单项动作

声明

void add_action(string action, function func)

参数

参数名描述
action菜单项名称
func处理函数

返回值

使用方式

返回文档