aism_user_quarantine
Lock a suspicious WordPress account without deleting it: strip roles, end all sessions, randomize the password, and block logins and resets until restored.
Instructions
Lock a suspicious account without deleting it: saves and removes all its roles, signs out every session, deletes its application passwords, sets a random password and blocks all logins and password resets until restored. Refuses the key owner and the last active administrator. Use only on accounts the operator asked to disable. Requires users:write plus promote_users/edit_user (companion 1.5.0+).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| site | No | Configured site name from aism_sites. Omit for the default site. | |
| reason | No | Short note stored with the quarantine record. |