Created
October 15, 2016 00:52
-
-
Save stuartduff/4c0c21ff924a013db5d7a1a66910b33b to your computer and use it in GitHub Desktop.
This filter allows you to specify your themes loaded version of Font Awesome and disable the Font Awesome Box Shortcode font awesome css from loading.
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
function load_my_current_font_awesome() { | |
return 'my_theme_fontawesome'; | |
} | |
add_filter( 'enqueued_fabs_font_awesome_filter', 'load_my_current_font_awesome' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment