R
LWS Hide Login Content

Redirect your users if they try to access your admin page

Redirect your users if they try to access your admin page directly.

What it does

Redirect your users if they try to access your admin page directly. It is one of the abilities the LWS Hide Login 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_pagesπŸ”’ edit_users

How an agent calls it

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

lws-hide-login.redirect-your-users-if-they-try-to-acces
{
  "ability": "lws-hide-login.redirect-your-users-if-they-try-to-acces",
  "args": { "input": ... }
}

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

Keep exploring

More LWS Hide Login abilities

All LWS Hide Login abilities β†’
S
Secure your website with this plugin !
LWS Hide Login
Secure your website with this plugin !