• Hi

    I am using an external 2fa app. In wordfence for an admin you can not disable 2fa but need to make it optional. I know how to hide the column in the screen setting for the user overview, but is there also a way to hide the settings on the admin profile page? because another 2fa is active and these settings are also there but 2fa from wordfence shows “not active” so I want to hide that. maybe with some kind of code snippet?

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @jellebuelens, thanks for getting in touch!

    At present there’s no toggle for that in the Login Security, although I will mention that non-admin users don’t see it when their roles are set to “Disabled”. There is an internal development case to add this for admins in the future.

    As this snippet would not break anything if we added the feature during an automatic plugin update, a good workaround would be to include the following JavaScript:

    jQuery('h2:contains("Wordfence Login Security")').hide();
    jQuery('h2:contains("Wordfence Login Security")').next().hide();

    You could narrow this down to only trigger when the page is profile.php, if you wish.

    Many thanks,
    Peter.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.