Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Socialize Theme Fix
<?php
/**
* Remove Theme Default Buddypress CSS
*/
function youzer_remove_default_bp_css() {
wp_dequeue_style( 'gp-bp' );
wp_dequeue_style( 'gp-bbp' );
wp_dequeue_style( 'bp-legacy-css' );
}
add_action( 'wp_enqueue_scripts' , 'youzer_remove_default_bp_css', 999 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment