Shortcode for Custom WordPress 2FA Configuration Page
By default, the 2FA setup is done on the My Account page and through the user profile page in the WP admin dashboard. However, you can use a separate page for the two-factor authentication set up by following the steps below:
Create a new page or edit an existing one.
Add the shortcode [profilepress-2fa-setup]to the page and publish/update.
Below is a preview of the custom 2FA page.
If you have 2FA enforced in Settings, you need to enter the custom 2FA page URL in the “Custom 2FA Page URL” field.
La fin! ?