Created
February 10, 2023 18:04
-
-
Save apeatling/ba8ad18b931712133561e832f223adc4 to your computer and use it in GitHub Desktop.
Plugin to remove core block patterns.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: Remove Patterns | |
*/ | |
function remove_patterns() { | |
remove_theme_support('core-block-patterns'); | |
} | |
add_action('after_setup_theme', 'remove_patterns'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment