Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #227743

    I used remove_action(‘wp_head’,’avia_debugging_info’,1000); in my child theme functions.php file and id DID NOT remove the debug info. I had to add it to the ENFOLD functions file. Can you advise on how to add it to the child theme. I don’t want to edit everytime the main theme is updated.

    Thanks

    #227765

    Hey!

    Try with the following code:

    function avia_remove_debug() {
    remove_action('wp_head','avia_debugging_info',1000);
    }
    add_action( 'init', 'avia_remove_debug');

    Best regards,
    Josue

    #227788

    Works like a charm. Thanks!

    #227791

    You are welcome, glad we could help :)

    Regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Removing debug info’ is closed to new replies.