Allows authors to restrict access to blocks by user roles.
As of April 2026, User Block Visibility is a WordPress users plugin with 10 active installations and a 5/5 rating from 2 reviews. It has been downloaded 1.4K+ times in total. Requires WordPress 5.0+ and PHP 5.6+. Available on WordPress.org since 2019. Last updated 6 years ago — may have compatibility concerns. Top alternative: User Switching.
Allows authors to restrict access to blocks by user roles.
This plugin is meant to be lightweight, limited in scope, while maintaining extensibility. If you need a hook, please reach out!
User Block Visibility is meant to be extensible. For example, use the filter ubv_built_in_user_roles to restrict the built-in roles that are available.
To create custom restriction options, use ubv_additional_roles and the built-in WordPress filter render_block.
To restrict access to this functionality, use ubv_do_enqueue_sidebar.
| WordPress | 5.0+ requiredTested up to 5.1.22 |
| PHP | 5.6+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.