Hi,
this snippet from @yigit does not work anymore with ENFOLD 4.5.7, although I have activated this function, the debug info is still shown in the source code. I know, that it has worked perfectly some versions before:
https://kriesi.at/support/topic/debugging-info-for-theme-support/#post-768947
function avia_remove_debug() {
remove_action('wp_head','avia_debugging_info',1000);
}
add_action( 'init', 'avia_remove_debug');
Any changes for this snippet please, that work?
NOTE: I DO NOT USE A CHILD THEME !
Thank you.
Hey COLORIT,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.
Best regards,
Basilis
don’t know, why you need it, my site is not online, but you can check this snippet at your own demo installation and you will see, too, that the snippet of @yigit does not work, thanks.
Hi,
Thank you for the update.
You can replace the old snippet with the following code.
function ava_remove_debug() {
remove_action('wp_head','avia_debugging_info',9999999);
remove_action('admin_print_scripts','avia_debugging_info',9999999);
}
add_action( 'after_setup_theme', 'ava_remove_debug');
Best regards,
Ismael
great, that works fine, thanks a lot, Ismael!
Hi,
Im glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon