Disable Loco Translate debug mode
If you have WP_DEBUG
enabled, you may see debugging messages in your error logs. This doesn't mean they're errors.
If for some reason you want debugging mode enabled for WordPress, but disabled for Loco Translate, you can use this filter as follows:
add_filter('loco_debug','__return_false');
You can also do the opposite. If WP_DEBUG
is disabled, you can enable Loco Translate debug messages as follows:
add_filter('loco_debug','__return_true');