B
User Role Editor Content

Block selected admin menu items for role

Block selected admin menu items for role.

What it does

Block selected admin menu items for role. It is one of the abilities the User Role Editor plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ edit_posts

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

user-role-editor.block-selected-admin-menu-items-for-role
{
  "ability": "user-role-editor.block-selected-admin-menu-items-for-role",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More User Role Editor abilities

All User Role Editor abilities β†’
A
Add new roles and customize its capabilities according to
User Role Editor
Add new roles and customize its capabilities according to your needs, from scratch of as a copy of other existing role.
B
Block selected widgets under "Appearance" menu for role
User Role Editor
Block selected widgets under "Appearance" menu for role.
B
Block selected meta boxes (dashboard, posts, pages, custom
User Role Editor
Block selected meta boxes (dashboard, posts, pages, custom post types) for role.
M
Manage user access to editing posts/pages/custom post type
User Role Editor
Manage user access to editing posts/pages/custom post type using posts/pages, authors, taxonomies ID list.