Created
April 8, 2023 06:16
-
-
Save KaineLabs/099326e5b13727bfff26b365fd87aa45 to your computer and use it in GitHub Desktop.
Youzify - Fix SVG icons
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
<?php | |
add_action( 'wp_enqueue_scripts', 'yp_dequeue_fa_scripts', 11 ); | |
function yp_dequeue_fa_scripts() { | |
if ( bp_current_component() ) { | |
wp_dequeue_script( 'font-awesome' ); | |
wp_dequeue_script( 'font-awesome-v4-shims' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment