Title: Can&#8217;t hide &#8220;Two-Factor&#8221; plugin settings
Last modified: February 19, 2026

---

# Can’t hide “Two-Factor” plugin settings

 *  Resolved [bobthedino](https://wordpress.org/support/users/bobthedino/)
 * (@bobthedino)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/cant-hide-two-factor-plugin-settings/)
 * Hi, this is a follow-up to the bug I reported a year ago (see “Unable to hide“
   Two-Factor” plugin settings from profile”).
 * When the Two Factor plugin is active (see: [https://wordpress.org/plugins/two-factor/](https://wordpress.org/plugins/two-factor/))
   the settings for it are now listed in the PublishPress Capabilities Profile Features
   list. Two items are added: “Two- Factor Options” and “Security Keys”.
   It is possible
   to hide “Security Keys” from user profiles, but unfortunately if I choose to 
   hide “Two-Factor Options” the options still appear in the user profile.
 * I reproduced this using a clean WordPress 6.9.1 install with PublishPress Capabilities
   2.32.0 and Two-Factor 0.15.0 installed – these are the only two plugins installed.
    -  This topic was modified 3 months, 2 weeks ago by [bobthedino](https://wordpress.org/support/users/bobthedino/).
    -  This topic was modified 3 months, 2 weeks ago by [bobthedino](https://wordpress.org/support/users/bobthedino/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [Riza Prihananto](https://wordpress.org/support/users/rizaprihananto/)
 * (@rizaprihananto)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/cant-hide-two-factor-plugin-settings/#post-18827860)
 * Hi [@bobthedino](https://wordpress.org/support/users/bobthedino/) , 
   I can confirm
   the issue from my end, and it has been escalated to the developer. You can also
   check the progress of the escalation in the following issue: [https://github.com/publishpress/publishpress-capabilities/issues/1592](https://github.com/publishpress/publishpress-capabilities/issues/1592)
   Feel free to let us know if you have some information to add.
 *  Thread Starter [bobthedino](https://wordpress.org/support/users/bobthedino/)
 * (@bobthedino)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/cant-hide-two-factor-plugin-settings/#post-18828022)
 * Thank you, I look forward to seeing the fix. I’m very impressed with the speed
   and responsiveness of your support for this plugin!
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [3 months ago](https://wordpress.org/support/topic/cant-hide-two-factor-plugin-settings/#post-18842124)
 * [@bobthedino](https://wordpress.org/support/users/bobthedino/) This is solved
   with the most recent release of PublishPress Capabilities: 2.40.
 *  Thread Starter [bobthedino](https://wordpress.org/support/users/bobthedino/)
 * (@bobthedino)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/cant-hide-two-factor-plugin-settings/#post-18853892)
 * Hi, thank you for the update. It now almost works pefectly to hide the profile
   settings for Two-Factor.
 * Unfortunately the following two lines of text from Two-Factor settings still 
   appear on the user profile page, even after disabling all the Two-Factor items
   inside the Profile Features settings page:
   “Configure a primary two-factor method
   along with a backup method, such as Recovery Codes, to avoid being locked out
   if you lose access to your primary method. Methods marked as recommended are 
   more secure and easier to use.”“Authentication for REST API and XML-RPC must 
   use application passwords (defined above) instead of your regular password.”In
   the default state with all Two-Factor options enabled, these two lines of text
   appear immediately below the “Two-Factor Options” heading in the user profile.
 *  Plugin Support [Riza Prihananto](https://wordpress.org/support/users/rizaprihananto/)
 * (@rizaprihananto)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/cant-hide-two-factor-plugin-settings/#post-18858007)
 * Hi [@bobthedino](https://wordpress.org/support/users/bobthedino/) ,
   I can see
   the issue here, but as a temporary solution, you can hide those sections by adding
   this to Admin Features: [https://prnt.sc/FS4qMU8bbZum](https://prnt.sc/FS4qMU8bbZum)
 * fieldset#two-factor-options {
   display: none;I will discuss with the developer
   regarding this to get the perfect result in the next update.
 *  Thread Starter [bobthedino](https://wordpress.org/support/users/bobthedino/)
 * (@bobthedino)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/cant-hide-two-factor-plugin-settings/#post-18865505)
 * Hi, many thanks. I’ve been able to use your suggestion successfully.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-hide-two-factor-plugin-settings%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/capability-manager-enhanced/assets/icon-256x256.png?rev=
   3408171)
 * [PublishPress Capabilities - User Role Editor, Access Permissions, User Capabilities, Admin Menus](https://wordpress.org/plugins/capability-manager-enhanced/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/capability-manager-enhanced/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/capability-manager-enhanced/)
 * [Active Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/capability-manager-enhanced/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [bobthedino](https://wordpress.org/support/users/bobthedino/)
 * Last activity: [2 months, 1 week ago](https://wordpress.org/support/topic/cant-hide-two-factor-plugin-settings/#post-18865505)
 * Status: resolved