remove wp core block patterns

This commit is contained in:
Aadil Ayub 2024-04-29 11:45:09 +05:00
parent b82454087e
commit 916df0991d

View File

@ -100,4 +100,10 @@ function fix_svg() {
} }
add_action( 'admin_head', 'fix_svg' ); add_action( 'admin_head', 'fix_svg' );
/*== END ENABLE SVG UPLOADS ==*/ /*== END ENABLE SVG UPLOADS ==*/
// remove stock wordpress patterns
function remove_core_patterns() {
remove_theme_support('core-block-patterns');
}
add_action('after_setup_theme', 'remove_core_patterns');