Created
June 16, 2023 06:37
-
-
Save mrkdevelopment/58e26482ae6a678163670be8fef8d141 to your computer and use it in GitHub Desktop.
Remove core theme support
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
if ( ! function_exists( 'custom_setup' ) ) { | |
function custom_setup() { | |
// Remove core block patterns. | |
remove_theme_support( 'core-block-patterns' ); | |
} | |
} | |
add_action( 'after_setup_theme', 'custom_setup' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment