With the code below it was possible to remove the debug info but somehow it is not working no more with version 4.5.2
What do we need to change?
add_action('init','avia_remove_debug');
function avia_remove_debug(){
remove_action('wp_head','avia_debugging_info',1000);
remove_action('admin_print_scripts','avia_debugging_info',1000);
}
I changed 1000 to 9999999 now its working;
add_action('init','avia_remove_debug');
function avia_remove_debug(){
remove_action('wp_head','avia_debugging_info',9999999 );
remove_action('admin_print_scripts','avia_debugging_info',9999999 );
}
Hi,
I’m glad glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon