Title: User Block Visibility
Author: noraconley
Published: <strong>13 april 2019</strong>
Last modified: 13 april 2019

---

Plugins zoeken

Deze plugin **is niet getest met de laatste drie grote versies van WordPress**. 
Mogelijk wordt het niet meer onderhouden of ondersteund. Er kunnen ook compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

![](https://s.w.org/plugins/geopattern-icon/user-block-visibility.svg)

# User Block Visibility

 Door [noraconley](https://profiles.wordpress.org/noraconley/)

[Download](https://downloads.wordpress.org/plugin/user-block-visibility.zip)

 * [Details](https://nl-be.wordpress.org/plugins/user-block-visibility/#description)
 * [Beoordelingen](https://nl-be.wordpress.org/plugins/user-block-visibility/#reviews)
 * [Ontwikkeling](https://nl-be.wordpress.org/plugins/user-block-visibility/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/user-block-visibility/)

## Beschrijving

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`.

## Schermafbeeldingen

[⌊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.⌉[

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

## FAQ

  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.

## Beoordelingen

![](https://secure.gravatar.com/avatar/0bdb6ea0dd017a0f1f28533a2901151f98fbdc970f5ba344cc3f67828d3b383a?
s=60&d=retro&r=g)

### 󠀁[Love it](https://wordpress.org/support/topic/love-it-2671/)󠁿

 [Maria Maso](https://profiles.wordpress.org/mjmaso/) 15 juli 2019

This is exactly what I was looking for. Thank you!

![](https://secure.gravatar.com/avatar/8c0ced2ad5a0c50ec3a0903b1d1946b4309a9b5e4ed01ff7f8d40bc710f49e3e?
s=60&d=retro&r=g)

### 󠀁[Works as advertised…](https://wordpress.org/support/topic/works-as-advertised-589/)󠁿

 [nick6352683](https://profiles.wordpress.org/nick6352683/) 16 april 2019

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…

 [ Lees alle 3 beoordelingen ](https://wordpress.org/support/plugin/user-block-visibility/reviews/)

## Bijdragers & ontwikkelaars

“User Block Visibility” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

 *   [ noraconley ](https://profiles.wordpress.org/noraconley/)

[Vertaal “User Block Visibility” naar jouw taal.](https://translate.wordpress.org/projects/wp-plugins/user-block-visibility)

### Interesse in de ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/user-block-visibility/),
haal de [SVN repository](https://plugins.svn.wordpress.org/user-block-visibility/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/user-block-visibility/)
via [RSS](https://plugins.trac.wordpress.org/log/user-block-visibility/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release!

## Meta

 *  Versie **1.0**
 *  Laatst bijgewerkt: **7 jaar geleden**
 *  Actieve installaties: **10+**
 *  WordPress versie ** 5.0 of nieuwer **
 *  Getest t/m **5.1.22**
 *  PHP versie ** 5.6 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/user-block-visibility/)
 * Tags
 * [blocks](https://nl-be.wordpress.org/plugins/tags/blocks/)[gutenberg](https://nl-be.wordpress.org/plugins/tags/gutenberg/)
   [users](https://nl-be.wordpress.org/plugins/tags/users/)
 *  [Geavanceerde weergave](https://nl-be.wordpress.org/plugins/user-block-visibility/advanced/)

## Beoordelingen

 5 van 5 sterren.

 *  [  2 5 sterren beoordeling     ](https://wordpress.org/support/plugin/user-block-visibility/reviews/?filter=5)
 *  [  0 4 sterren beoordeling     ](https://wordpress.org/support/plugin/user-block-visibility/reviews/?filter=4)
 *  [  0 3 sterren beoordeling     ](https://wordpress.org/support/plugin/user-block-visibility/reviews/?filter=3)
 *  [  0 2 sterren beoordeling     ](https://wordpress.org/support/plugin/user-block-visibility/reviews/?filter=2)
 *  [  0 1 sterren beoordeling     ](https://wordpress.org/support/plugin/user-block-visibility/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/user-block-visibility/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/user-block-visibility/reviews/)

## Bijdragers

 *   [ noraconley ](https://profiles.wordpress.org/noraconley/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/user-block-visibility/)