Title: Restrict Block Content
Author: bethinkstudio
Published: <strong>19 mai 2025</strong>
Last modified: 28 mai 2025

---

Recherche d’extensions

![](https://ps.w.org/restrict-block-content/assets/banner-772x250.png?rev=3299607)

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/restrict-block-content/assets/icon.svg?rev=3299607)

# Restrict Block Content

 Par [bethinkstudio](https://profiles.wordpress.org/bethinkstudio/)

[Télécharger](https://downloads.wordpress.org/plugin/restrict-block-content.1.0.1.zip)

 * [Détails](https://fr-be.wordpress.org/plugins/restrict-block-content/#description)
 * [Avis](https://fr-be.wordpress.org/plugins/restrict-block-content/#reviews)
 * [Développement](https://fr-be.wordpress.org/plugins/restrict-block-content/#developers)

 [Support](https://wordpress.org/support/plugin/restrict-block-content/)

## Description

This plugin will allow you, by default, to add restrictions to `core/group` and `
core/row` blocks in the block and full-site editors.

Restrictions involve enabling it for that block, then setting the access level used
by RC/RCP, and then determine whether the user must have at least that access level,
or not have that access level in the block editor.

For details about how Access Levels work, here is a resource from the creators: 
https://help.solidwp.com/hc/en-us/articles/360049322274-How-do-access-levels-work

This plugin relies on either [Restrict Content](https://wordpress.org/plugins/restrict-content/)
available on the WordPress.org Plugins Repository, or the premium version of [Restrict Content Pro](https://restrictcontentpro.com/).

**Note:** If you are using Restrict Content Pro, and facing an issue where this 
plugin’s dependencies do not seem to be met, make sure you are using RCP ≥ 4.5.46,
which supports plugin dependencies for the free version as well through the `wp_plugin_dependencies_slug`
filter.

If you need to use this with an older version, you can apply this filter manually:

    ```
    /**
     * Filter so that plugins listing the free version as a dependency would also be satisfied by the Pro version.
     *
     * @param string $slug The plugin slug being checked.
     */
    add_filter( 'wp_plugin_dependencies_slug', function( $s ) {
        if ( 'restrict-content' === $s ) {
            $s = 'restrict-content-pro';
        }
        return $s;
    });
    ```

### Source Code

Full source code is available on Github here:

https://github.com/bethinkstudio/restrict-block-content

## Captures d’écran

[⌊By default, Group and Row blocks will have this additional panel, to add restrictions.⌉⌊
By default, Group and Row blocks will have this additional panel, to add restrictions
.⌉[

By default, Group and Row blocks will have this additional panel, to add restrictions.

[⌊When enabled, it will expose the interface to specify the access level, and whether
you would like it to restrict to users at that level and above, or those that do
not meet the requirement.⌉⌊When enabled, it will expose the interface to specify
the access level, and whether you would like it to restrict to users at that level
and above, or those that do not meet the requirement.⌉[

When enabled, it will expose the interface to specify the [access level](https://help.solidwp.com/hc/en-us/articles/360049322274-How-do-access-levels-work),
and whether you would like it to restrict to users at that level and above, or those
that do not meet the requirement.

[⌊Once you specify the level, the text will update to clarify which level it is 
restricting based on.⌉⌊Once you specify the level, the text will update to clarify
which level it is restricting based on.⌉[

Once you specify the level, the text will update to clarify which level it is restricting
based on.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs & développeurs

« Restrict Block Content » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

 *   [ bethinkstudio ](https://profiles.wordpress.org/bethinkstudio/)
 *   [ George Stephanis ](https://profiles.wordpress.org/georgestephanis/)

[Traduisez « Restrict Block Content » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/restrict-block-content)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/restrict-block-content/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/restrict-block-content/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/restrict-block-content/)
par [RSS](https://plugins.trac.wordpress.org/log/restrict-block-content/?limit=100&mode=stop_on_copy&format=rss).

## Journal

#### 1.0.1

 * Add fallback for default comparison value.
 * Tidy up code formatting in readme.txt.

#### 1.0.0

 * Initial public release on WordPress.org.

#### 0.9.1

 * Minor changes to appease the plugin check to submit to .org.

#### 0.9.0

 * Release

## Méta

 *  Version **1.0.1**
 *  Last updated **il y a 1 année**
 *  Active installations **Moins de 10**
 *  WordPress version ** 6.7 ou plus **
 *  Tested up to **6.8.10**
 *  PHP version ** 7.4 ou plus **
 *  Language
 * [English (US)](https://wordpress.org/plugins/restrict-block-content/)
 * Tags
 * [block-editor](https://fr-be.wordpress.org/plugins/tags/block-editor/)[rcp](https://fr-be.wordpress.org/plugins/tags/rcp/)
   [restrict content pro](https://fr-be.wordpress.org/plugins/tags/restrict-content-pro/)
 *  [Vue avancée](https://fr-be.wordpress.org/plugins/restrict-block-content/advanced/)

## Notes

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/restrict-block-content/reviews/)

## Contributeurs

 *   [ bethinkstudio ](https://profiles.wordpress.org/bethinkstudio/)
 *   [ George Stephanis ](https://profiles.wordpress.org/georgestephanis/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/restrict-block-content/)