Notifications
Go to SwitchUser → Notifications.
| Setting | Default | Description |
|---|---|---|
| Send Email On Each Switch Event | Off | Email when someone switches into an account or switches back |
| Send Weekly Digest | Off | Email a weekly summary of switching activity |
| Notification Email Address | Site admin email | Where both emails are sent |
Per-Switch Emails
Subject: [SwitchUser] switch_to (or switch_back). The email contains:
- the event
- the actor (who started the switch), the origin account and the target account (usernames)
- the IP address
- the time (UTC)
The switched-into user isn't notified - only the notification address.
Weekly Digest
Sent once a week by the switchuser_weekly_digest scheduled task (about a day after activation, then every 7 days). Subject: [SwitchUser] Weekly activity digest. It includes:
- the total number of switch sessions in the last 7 days
- a count of each event type (switches, switch-backs, page visits, WooCommerce events)
- a link to the Audit tab (SwitchUser → Audit) for the full log
The digest relies on WordPress cron. If wp-cron is disabled and no server cron runs, it won't be sent - check with WP Crontrol that switchuser_weekly_digest is scheduled.