Disable pattern directory integration using two approaches: remove theme support for core block patterns and filter the remote pattern loading functionality.
Use remove_theme_support('core-block-patterns')
to disable WordPress’s built-in patterns, and filter should_load_remote_block_patterns
to return false for disabling external pattern loading.
These changes ensure only theme-specific patterns appear in the inserter, creating a curated experience that aligns with your design system rather than generic WordPress defaults.
The underlying WordPress mechanism checks for both theme support and remote pattern settings before loading external patterns, giving you complete control over pattern availability.