Created
January 26, 2022 22:40
-
-
Save wplit/781263596bd61d7b914a49c82e7a4684 to your computer and use it in GitHub Desktop.
Remove 'global styles inline' from 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
add_action( 'wp_enqueue_scripts', 'lit_remove_global_inline_styles' ); | |
function lit_remove_global_inline_styles() { | |
wp_dequeue_style('global-styles'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment