plugin-icon

Restrict Block Content

제작자: bethinkstudio·
Applies Restrict Content / Restrict Content Pro level based restrictions to specific core blocks.
버전
1.0.1
최근 업데이트일
May 28, 2025
Restrict Block Content

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 available on the WordPress.org Plugins Repository, or the premium version of Restrict Content Pro.

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

무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.8.5
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.