Created
October 21, 2022 20:26
-
-
Save wp-user-manager/6845ac78fd46db0d2ff8e30949d7f1dc to your computer and use it in GitHub Desktop.
WP User Manager - Don't load the frontend CSS
This file contains hidden or 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 | |
function wpum_unload_styles() { | |
wp_dequeue_style( 'wpum-frontend' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'wpum_unload_styles', 11 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save this file to your /wp-content/mu-plugins/ directory (you might need to create the mu-plugins directory).