How to disable block directory?
Yes, it is possible. Excerpt from Editor Hooks → Block Directory in the block editor handbook: The Block Directory enables installing new block plugins from WordPress.org. It can be disabled by removing the actions that enqueue it. In WordPress core, the function is wp_enqueue_editor_block_directory_assets. To remove the feature, use remove_action, like this: <?php // my-plugin.php … Read more