首页 WordPress函数大全 remove_submenu_page()

remove_submenu_page()

2020-05-02 / 4589阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

remove_submenu_page( string $menu_slug, string $submenu_slug )

删除管理员子菜单。

描述

参数

$menu_slug

(string)
(Required)
The slug for the parent menu.

$submenu_slug

(string)
(Required)
The slug of the submenu.

返回

(array|bool) The removed submenu on success, false if not found.

大家谈论
    我的见解