• Resolved Ilona

    (@filona)


    Hi,

    I’m trying to denqueue/deregister Font Awesome, as the site I’m working on has another plugin loading it already.

    How would I go about doing it so it works with your plugin? Would wp_dequeue_style() hooked into wp_footer action work?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Yes, slightly different hook but the same method:

    
    add_action( 'wp_enqueue_scripts', 'wpmenucart_dequeue_fontawesome', 999 );
    function wpmenucart_dequeue_fontawesome() {
    	wp_dequeue_style( 'wpmenucart-fontawesome' );
    }
    
Viewing 1 replies (of 1 total)
  • The topic ‘Deregistering Font Awesome’ is closed to new replies.