remove wp core block patterns
This commit is contained in:
parent
b82454087e
commit
916df0991d
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user