WordPress / API Reference
wp_whitelabel_restrict_admin_access
WordPress tool. Restrict what non-admin roles can see and do in the WordPress admin
This is a read-only tool: it returns whitelabel restrict admin access 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 restrict admin access in my WordPress account for [role].
It takes 1 required and 5 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
role | string | Yes | Role |
allowed_pages | array | No | Allowed Pages |
blocked_pages | array | No | Blocked Pages |
hide_admin_bar | boolean | No | Hide Admin Bar |
redirect_on_login | string | No | Redirect On Login |
disable_file_editor | boolean | No | Disable File Editor |
Related WordPress tools
wp_whitelabel_admin_brandingwp_whitelabel_admin_color_schemewp_whitelabel_custom_admin_footerwp_whitelabel_custom_dashboard_widgetwp_whitelabel_disable_updates_uiwp_whitelabel_export_site_report
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.