-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support disabling core block patterns #24042
Conversation
Size Change: 0 B Total Size: 1.15 MB ℹ️ View Unchanged
|
I'm just going to merge this as the same code is already merged on Core. |
Is there an ability to disable Block Patterns? There's a list of example Block Patterns which are not needed in my Theme and no matter what I try whether it's disabling Block Patterns completely or by each individual Pattern nothing seems to get rid of them? |
@pixelsandthings Did you try |
@youknowriad I literally just found it about 15 minutes ago, it's not specified too clearly in the current documentation... but got there in the end, thanks for the reply though. |
This PR refactors the block patterns code a little bit and adds the "core-block-patterns" theme support flag that already landed on Core. That way, users of WP 5.4 + plugin would also be able to disable the core block patterns.