WordPress.org

Ready to get started?Download WordPress

Forums

discover
Remove Function discover_head_css (1 post)

  1. gmassonfr
    Member
    Posted 10 months 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() {
    	remove_action('wp-head','discover_head_css');
    }
    add_action ('wp-head','remove_discover_head_css');

    Some help would be much appropriate :)

    Cheers

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.