Since Enfold 4.3 the procedure in this link does not work anymore. However, due to security aspects I would like to remove this debugging info. How does this work under Enfold 4.3?
put this into your functions.php of your child-theme:
if(!function_exists('avia_debugging_info')){
function avia_debugging_info() {
//
}
}
Hi,
@Genni007 Thank you for sharing this tip
Let us know if you need any further help :)
Best regards,
Vinay
if(!function_exists('avia_debugging_info')){
function avia_debugging_info() {
//
}
}
I tried to put that in function.php , but didn’t work , the debug info still shown in the source page,
any suggestion ?
Using enfold 4.3 , wp 4.9.5
Thanks
EDITED :
Sorry i think i found it
i delete the code in /themes/enfold/framework/php/function-set-avia-frontend.php line 1379 – 1380
add_action('wp_head','avia_debugging_info',9999999);
add_action('admin_print_scripts','avia_debugging_info',9999999);
is that affect to others fuction ? but the debug info is not shown in source page right now
thanks
Sorry for my new question: you did that code to funcitions.php of parent theme?
Than it is probably important where you inserted it – that is why i wrote:
put this into your functions.php of your child-theme