Skip to content

Instantly share code, notes, and snippets.


Kaiderella/functions.php Secret

Last active Mar 28, 2019
What would you like to do?
Gỡ bỏ Gutenberg stylesheet khỏi WordPress
//* Disable Gutenberg stylesheet in front
function wps_deregister_styles() {
wp_dequeue_style( 'wp-block-library' );
wp_dequeue_style( 'wp-block-library-theme' );
add_action( 'wp_print_styles', 'wps_deregister_styles', 100 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment