WordPress / API Reference
wp_whitelabel_hide_admin_menus
WordPress tool. Hide WordPress admin menu items for specific user roles
This is a read-only tool: it returns whitelabel hide admin menus for your WordPress account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Whitelabel hide admin menus in my WordPress account for [menus to hide].
It takes 1 required and 2 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
menus_to_hide | array | Yes | Menus To Hide |
roles | array | No | Roles |
hide_submenus | array | No | Hide Submenus |
Related WordPress tools
wp_whitelabel_hide_admin_noticeswp_whitelabel_admin_brandingwp_whitelabel_admin_color_schemewp_whitelabel_custom_admin_footerwp_whitelabel_custom_dashboard_widgetwp_whitelabel_disable_updates_ui
Before you can call it
This tool needs a connected WordPress account. The WordPress connect guide covers how to authorize it and what it unlocks, and the quickstart gets a client talking to the server in about five minutes.
Start free — 30 tool calls a month
No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.