YooTheme Access Control WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/pduke7/yootheme-access-control-wp/archive/refs/heads/main.zipYooTheme Access Control Plugin
This plugin restricts YooTheme Builder access to administrators only, blocking all other user roles from accessing YooTheme functionality.
Features
- Role-based access control - Only administrators can access YooTheme Builder
- UI hiding - YooTheme buttons are hidden from non-admin users (no flash)
- Server-side security - Direct URL access is blocked at the server level
- Clean error messages - Users see clear messages when access is denied
- No redirect loops - Properly handles redirects to prevent browser errors
What it blocks
- YooTheme Builder button in post/page editors
- Direct YooTheme Builder URLs (admin-ajax.php)
- YooTheme menu in left admin sidebar
- Any YooTheme admin pages
- All YooTheme-related functionality
User Roles Affected
Blocked (cannot access YooTheme):
- Editors
- Authors
- Contributors
- Subscribers
- Shop Managers (WooCommerce)
- Any custom roles
Allowed (full access):
- Administrators
Installation
- Upload the plugin to
/wp-content/plugins/yootheme-access-control/ - Activate the plugin through the 'Plugins' menu in WordPress
- No configuration needed - works immediately
Security
- Server-side blocking prevents direct URL access
- CSS hiding prevents UI elements from showing
- JavaScript backup ensures complete hiding
- Proper redirect handling prevents browser errors
Requirements
- WordPress 5.0+ (tested up to 7.0)
- YooTheme Pro 4.x or 5.x
- PHP 7.4+
Changelog
1.0.3
- Tested compatibility with WordPress 7.0 and YooTheme Pro v5.0.35
- Verified server-side blocking against YooTheme Pro 5.x URL scheme (
action=yootheme&yootheme=customizer) - Added block-editor button hiding (YooTheme Pro 5.x
.tm-editor/.tm-button) — the classic-editor-only CSS did not cover the block editor, which is the WordPress default
1.0.2
- Tested compatibility with WordPress 6.9
- Tested compatibility with YooTheme Pro v5.x
1.0.1
- Security hardening: input sanitization for $_SERVER variables
- Added nonce verification for URL parameters
- Added proper output escaping with internationalization
- Fixed JavaScript compatibility (indexOf instead of includes)
- Removed invalid CSS :has-text() selector
- Added strict comparisons throughout
- Added WordPress plugin headers (Requires at least, Requires PHP, Tested up to)
1.0.0
- Initial release
- Role-based access control for YooTheme Builder
- CSS and JavaScript UI hiding
- Server-side URL blocking
- GitHub-based automatic updates
Automatic Updates
This plugin supports automatic updates directly from GitHub. WordPress will check for new versions and notify you when updates are available.
How Updates Work
- Plugin checks GitHub repository for new releases
- Updates are shown in WordPress admin (Plugins page)
- Click "Update Now" to install the latest version
- No need to manually download and upload files
Creating a New Release (for developers)
To release a new version:
- Update the version number in
yootheme-access-control.phpheader (line 6) - Update
YOOTHEME_ACCESS_CONTROL_VERSIONconstant (line 18) - Commit and push changes to the main branch
- Create a new release on GitHub:
- Go to: https://github.com/pduke7/YooTheme-Access-Control-wp/releases/new
- Tag version: Use semantic versioning (e.g.,
v1.0.1,v1.1.0,v2.0.0) - Release title: Same as tag (e.g.,
v1.0.1) - Description: List changes in the release
- Click "Publish release"
- WordPress will detect the new version within 12 hours
Note: The tag must match the version in the plugin header for updates to work correctly.
Support
For support, please contact the plugin author or open an issue on GitHub.
License
GPL v2 or later
Releases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.