| Key | Default |
|---|---|
frontend.woo_account_tab | — |
frontend.woo_account_slug | — |
The problem it solves
Everything personal — two-factor enrolment, passkeys, recognised devices — lived on profile.php.
A WooCommerce customer never goes there. Most stores block wp-admin for customers, and WooCommerce sends them to /my-account/ regardless.
So on a store, the only people who could enrol were staff. And switching on required two-factor locked out precisely the accounts that had no way to comply — every customer, all at once, with no path to fix it themselves.
What it adds
A front-end account security page where a customer can:
- Enrol in two-factor and see their recovery codes
- Register and remove passkeys
- Review recognised devices
- See and end their own active sessions
On a WooCommerce store it appears as a tab in My account, at a slug you configure. Elsewhere it is a page you place.
If you enforce two-factor on a store, enable this
That is the whole point. Required two-factor without a front-end enrolment route is a lockout with extra steps.
Front end only
The module registers on the front end only. The admin surfaces — the console and the profile panel — are wired separately, so this adds nothing to wp-admin and does not load there.
Customising
itxuo_account_security_url sets where links to the page point, for sites that place it somewhere unusual:
add_filter( 'itxuo_account_security_url', function () {
return home_url( '/account/security/' );
} );
itxuo_account_panel_rendered fires after the panel renders, for adding your own controls beneath it.
What gets logged
The same events as the admin path — enrolment, removal, session ends — with the user as their own actor. A customer ending their own session and an administrator ending it for them are distinguishable in the log.