WordPress.org

Support

Support » Themes and Templates » Remove Function discover_head_css

Remove Function discover_head_css

  • Hello everyone,

    I already managed, on my child theme, to override a few functions such as discover_of_style and discover_of_register_js to modify the nav menu, as well as the options corresponding of the color choice.

    Now I would like to remove the functions discover_head_css to set up my own style without letting the admin having a choice but I can’t figure out why my function is not working.

    My current function is:

    // remove the custom head css
    
    function remove_discover_head_css() {
    	remove_action('wp-head','discover_head_css');
    }
    add_action ('wp-head','remove_discover_head_css');

    Some help would be much appropriate 🙂

    Cheers

  • The topic ‘Remove Function discover_head_css’ is closed to new replies.