With the Controlled Content Block you can create a Content section where you have control over which blocks are allowed. Use this block if you have a section where you only want paragraphs. The block also features a filter to control who can change which type of blocks are available. The possible allowed core blocks are paragraphs, lists, headings, and images. If you would like to add or remove blocks from these choices there is a filter for that too.
The block also features a filter to remove the meta box for selecting allowed blocks for certain users.
This plugin provides 1 block.
- Controlled Content Create an allowed blocks section
- Upload the plugin files to the
/wp-content/plugins/controlled-contentdirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
ہرہک دے سوال
Which blocks can be allowed?
Any block installed on your site. The default list you can select from is:
What Filters are available?
The block offers two filters.
wpblockbuddy_controlled_content_block_choicesto filter the list of blocks to choose from.
wpblockbuddy_controlled_content_user_can_viewto filter if the meta box for selecting allowed blocks is visible to a user.
There are no reviews for this plugin.
Contributors & Developers
“Controlled Content Block” is open source software. The following people have contributed to this plugin.حصہ پاوݨ آلے
ڈیویلپمنٹ وچ دلچسپی ہے؟
- Add option for custom placeholder text for the block
- Add link to documentation from the plugin action links