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