Title: Restrict Block Content
Author: bethinkstudio
Published: <strong>2025 年 5 月 19 日</strong>
Last modified: 2025 年 5 月 28 日

---

搜尋外掛

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

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

# Restrict Block Content

 由 [bethinkstudio](https://profiles.wordpress.org/bethinkstudio/) 開發

[下載](https://downloads.wordpress.org/plugin/restrict-block-content.1.0.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/restrict-block-content/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/restrict-block-content/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/restrict-block-content/#developers)

 [技術支援](https://wordpress.org/support/plugin/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](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

## 螢幕擷圖

 * [[
 * 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](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.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Restrict Block Content〉的開發相關工作。

參與者

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

[將〈Restrict Block Content〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/restrict-block-content)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/restrict-block-content/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/restrict-block-content/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/restrict-block-content/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/restrict-block-content/)。

## 變更記錄

#### 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

## 中繼資料

 *  版本 **1.0.1**
 *  最後更新 **1 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/restrict-block-content/)
 * 標籤:
 * [block-editor](https://tw.wordpress.org/plugins/tags/block-editor/)[rcp](https://tw.wordpress.org/plugins/tags/rcp/)
   [restrict content pro](https://tw.wordpress.org/plugins/tags/restrict-content-pro/)
 *  [進階檢視](https://tw.wordpress.org/plugins/restrict-block-content/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/restrict-block-content/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/restrict-block-content/)