• Resolved Beee

    (@beee)


    How can I remove the css which is loaded in wp_head ?

    I tried removing it with a remove action but I can’t seem manage…
    Tried several priorities but no go 🙁

    Any help would be appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter Beee

    (@beee)

    And suddenly it hit me; the priority was on the wrong action 🙂

    For those who also want to know how to do this.

    function remove_adrotate_css() {
        remove_action( 'wp_head', 'adrotate_custom_css' );
    }
    add_action( 'wp_head', 'remove_adrotate_css', 1 );
    
    • This reply was modified 9 years ago by Beee.
Viewing 1 replies (of 1 total)

The topic ‘Howto remove css ?’ is closed to new replies.