Last active
April 7, 2022 07:29
-
-
Save lagenceoueb/5b3c988d584eefa964ca10574db5acfa to your computer and use it in GitHub Desktop.
Retirer le style natif Gutenberg (wp 5.9 )
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 | |
/** | |
* Remove default style (Geutenberg preset) in WordPress 5.9 theme | |
**/ | |
add_action( 'wp_enqueue_scripts', function(){ | |
wp_dequeue_style( 'global-styles' ); | |
}, 100 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Remove Gutenberg preset (WP 5.9)