Home / Admin / Disable Block Directory
Duplicate Snippet

Embed Snippet on Your Site

Disable Block Directory

Prevent block directory results from being shown when searching for blocks in the editor.

300+
Code Preview
php
<?php
remove_action('enqueue_block_editor_assets', 'wp_enqueue_editor_block_directory_assets');

Comments

Add a Comment