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
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
Works like a charm. Thanks!
You are welcome, glad we could help :)
Regards,
Josue