WP Online Active Users Documentation

In this guide & related topics
Shortcodes

Let users review their browser sessions

Use [wpoau_my_sessions] for a signed-in user’s own session controls.

4 min read Product guide

Why use it?

Put a session-management entry point on a member or account-related page. Users can review their own signed-in browsers and log out other sessions through the session feature. This does not grant access to another user’s session list.

Copy this shortcode

[wpoau_my_sessions]

Provided by: the Pro Sessions feature. Keep Pro active with a valid license and enable the session feature before placing the shortcode.

Add it to a page

  1. Enable and configure the session feature.
  2. Add the shortcode in a Shortcode block or shortcode-capable widget.
  3. Save and open the frontend while signed in as a test user.
  4. Select My browser sessions to open the session controls.

Logged-out visitors receive no output. The shortcode has no supported attributes; adding user_id will not turn it into an administrator session browser.

Devices & Sessions controls used by the signed-in sessions shortcode.
Devices & Sessions controls used by the signed-in sessions shortcode.

If the button does not work

Check the license, feature settings and frontend script errors. Test on staging with script-delay settings isolated. Logging out a browser can interrupt ongoing work, so test with your own accounts first.