最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

profiles - How to Remove or Deactivate "Application Passwords" in WordPress

programmeradmin0浏览0评论

With version 5.6, I got this new weird "Application Passwords" under all user profiles. No idea what it is and what it does except for what it says -- and I want it gone.

If anyone knows how to remove this using __return_false with a filter or something, please tell me. I've googled and looked at the developers handbook and so far; nothing.

See image for more information.

With version 5.6, I got this new weird "Application Passwords" under all user profiles. No idea what it is and what it does except for what it says -- and I want it gone.

If anyone knows how to remove this using __return_false with a filter or something, please tell me. I've googled and looked at the developers handbook and so far; nothing.

See image for more information.

Share Improve this question edited Dec 20, 2020 at 17:05 fuxia 107k38 gold badges255 silver badges459 bronze badges asked Dec 20, 2020 at 6:24 user199222user199222 2
  • I guess you care more about removing the UI to avoid confusing your users? Or did you want to disable most of the REST API instead? – Rup Commented Dec 20, 2020 at 16:53
  • Both. Remove (de-activate) the Applicaion Passwords and as much as possible of the REST API without breaking basic functions. – user199222 Commented Dec 21, 2020 at 6:08
Add a comment  | 

1 Answer 1

Reset to default 5

Yes, it's wp_is_application_passwords_available to globally disable them:

add_filter( 'wp_is_application_passwords_available', '__return_false' );

or wp_is_application_passwords_available_for_user to turn them on and off by role or individually.

发布评论

评论列表(0)

  1. 暂无评论