This plugin adds a button to the admin bar that allow admins to switch the text direction of the site. It can be used to test WordPress themes and plugins with Right To Left (RTL) text direction.
- Updated for compatibility with WordPress 5.4.
- Change user check to filterable capability, instead of just calling
- Make sure we set the direction the wp_styles object if it already exist.
- Enable header translation (props GaryJones);
Prevent a notice when no direction has been set.
Cleanup, bug fix
Activate RTL/LTR via the admin bar. Settings are per user, for admins only.
No more hooks – sets the text_direction variable on load.
Probably the simplest, yet useful, plugin in the repository 🙂