JPKCOM_ALLOW_BLOCKS_VERSION
public
mixed
JPKCOM_ALLOW_BLOCKS_VERSION
= '2.0.3'
public
mixed
JPKCOM_ALLOW_BLOCKS_VERSION
= '2.0.3'
Restrict the editor to a curated list of allowed block types.
jpkcom_allowed_block_types(bool|array<string|int, string> $allowed_block_types, WP_Block_Editor_Context $block_editor_context) : array<string|int, string>
Array of allowed block types, or boolean to enable/disable all.
The current block editor context.
Allowed block type names.