Controlled Content Block

With the controlled content block you can create an area where your content creators are only free to add the blocks that you’ve allowed. They will be less distracted and your design will not be broken!


The block offers two filters that can be used to change the behavior of the plugin. These features can be set in the admin if you are using wpBlockBuddy

Remove selection box for users

add_filter('wpblockbuddy_controlled_content_user_can_view', 'my_user_filter');

function my_user_filter() {
	if ( current_user_can('edit_posts') ) {
		return true;
	return false;

Change default list of available blocks

add_filter('wpblockbuddy_controlled_content_block_choices', 'my_allowed_block_choices');

function my_allowed_block_choices( $block_choices ) {
	$block_choices['spacer'] = 'core/spacer';
	unset( $block_choices['heading'] );
	return $block_choices;

Get Early Access

wpBlockBuddy is a plugin that will make it easy for you to control the blocks so the content will be exactly right! Sign up and help shape the features you will love.