A
User Menus - Nav Menu Visibility Content

Add a logout link to the menu (optional redirect settings)

Add a logout link to the menu (optional redirect settings)

What it does

Add a logout link to the menu (optional redirect settings) It is one of the abilities the User Menus - Nav Menu Visibility 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.

πŸ”’ manage_options

How an agent calls it

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

user-menus.add-a-logout-link-to-the-menu-optional-r
{
  "ability": "user-menus.add-a-logout-link-to-the-menu-optional-r",
  "args": { "input": ... }
}

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

Keep exploring

More User Menus - Nav Menu Visibility abilities

All User Menus - Nav Menu Visibility abilities β†’
D
Display menu items to everyone
User Menus - Nav Menu Visibility
Display menu items to everyone
D
Display menu items to only logged out users
User Menus - Nav Menu Visibility
Display menu items to only logged out users
D
Display menu items to only logged in users
User Menus - Nav Menu Visibility
Display menu items to only logged in users
D
Display menu items to users with or without a specific user
User Menus - Nav Menu Visibility
Display menu items to users with or without a specific user role.
A
Add a register link to the menu (optional redirect settings)
User Menus - Nav Menu Visibility
Add a register link to the menu (optional redirect settings)