Support » Plugin: WP-OTP » Use in FrontEnd

  • Hi

    How can I allow the users to enable OTP without going to their profile page? Is it possible to add a shortcode to render the contents of wp-otp-profile-display.php on any other page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author noplanman


    Hi @ibiglari

    I have created a new entry on the issue tracker here:

    May I ask your exact use-case for this?

    As it is now, you’d have to code your own shortcode, making use of the Wp_Otp_User_Meta class, which is a singleton and easy to use.

    Thread Starter ibiglari


    Hi. Sure. I have created a page for users to edit their profile / change password in front-end and have disabled their access to wp-admin/ altogether. I’d love to be able to offer them the option to enable 2FA on that page. Better yet, if I could force them to use 2FA because this site is going to deal with payments…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use in FrontEnd’ is closed to new replies.