Plugin info

Total downloads: 1,283
Active installs: 10
Total reviews: 2
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 3
Last updated: 4/13/2019 (2454 days ago)
Added to WordPress: 4/13/2019 (6 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: 5.1.21
Minimum PHP version: 5.6

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2454 days ago • 2 reviews

22/100

Is User Block Visibility abandoned?

Possibly abandoned (last update 2454 days ago).

Compatibility

Requires WordPress: 5.0
Tested up to: 5.1.21
Requires PHP: 5.6

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

User Profile Picture
Rating 4.6/5 (59 reviews)Active installs 50,000
Team List
Rating 5.0/5 (7 reviews)Active installs 100
User Blocks
Rating 0.0/5 (0 reviews)Active installs 30
User Profile Picture Social Networks
Rating 0.0/5 (0 reviews)Active installs 10
User Switching
Rating 4.9/5 (238 reviews)Active installs 200,000
Simple Local Avatars
Rating 4.6/5 (89 reviews)Active installs 100,000

Description

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!

Developer API

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.

Installation

No installation instructions available

Frequently Asked Questions

Hey, this isn’t working with “Classic” blocks.

Classic blocks do not behave like normal blocks and do not store data along with them, so this plugin will not work for this block type.

This is not working for [insert block type]!

You may have found a bug! I would be happy to take a look if you wouldn’t mind to submit a ticket in the support forum for this plugin.

Review feed

nick6352683
4/16/2019

Works as advertised...

5 star plugin obviously since it works as advertised can can be really helpful under certain conditions. I hope the development of the plugin continues, and a feature to also display (or not to display) the blocks for certain devices is also added (desktop, tablet, phone). This feature to be implemented should be easier to code because all you need to trigger the conditions are some simple CSS media queries. Good job so far nevertheless...

Screenshots

  1. Showing a block with visibility restricted for subscribers and users who are not logged in.

    Showing a block with visibility restricted for subscribers and users who are not logged in.

Changelog

1.0

  • Initial release!