diff --git a/docs/reference-guides/filters/editor-filters.md b/docs/reference-guides/filters/editor-filters.md index a445abe95e177b..28d03bd4ab56d2 100644 --- a/docs/reference-guides/filters/editor-filters.md +++ b/docs/reference-guides/filters/editor-filters.md @@ -134,3 +134,15 @@ The Block Directory enables installing new block plugins from [WordPress.org.](h remove_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_block_directory_assets' ); ``` + +### Block Patterns + +#### `should_load_remote_block_patterns` + +Default `true`. The filter is checked when registering remote block patterns, set to false to disable. + +For example, to disable use: + +``` +add_filter( 'should_load_remote_block_patterns', '__return_false' ); +```