The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Remove Function discover_head_css (1 post)

  1. gmassonfr
    Posted 3 years ago #

    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() {
    add_action ('wp-head','remove_discover_head_css');

    Some help would be much appropriate :)


Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.