该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

User Role Switcher

描述

This plugin allows you to quickly swap between user roles in WordPress at the click of a button. You’ll be instantly switched to the new user role. This is handy for test environments where you regularly log out and in between different accounts, or for administrators who need to switch between multiple accounts to test the feature in different user roles.

Features

  • Switch Role To: Instantly switch to any user role from the admin bar at top.
  • Switch back: Instantly switch back to your originating role.
  • Compatible with WordPress, WordPress Multisite, WooCommerce.

Security

  • Only users with the ability to edit other users can switch user roles. By default this is only Administrators on single site installations, and Super Admins on Multisite installations.

Usage

  1. Once plugin is activated, you will see Switch Role To in the top admin bar.
  2. Clicking this will bring the list of user roles available in the system.
  3. Click on any user role you want to test as.
  4. You can switch back to your originating user role via the Switch back link on the top admin bar.

评价

2021年4月2日 1 回复
Was asking for a floating button to get back to the admin, got in in a couple of days. Great plugin! Great support!
阅读所有2条评价

贡献者及开发者

“User Role Switcher” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“User Role Switcher”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.2.0

  • [Improvements] Added floating action button when role is switched.

0.1.0

  • Initial release