Hide WordPress Enfold Theme Debug Info

, , ,

The following code snippet will hide the frontend “Debug Info” from the Enfold theme for WordPress.

 

To implement this, simply add the snippet below to your “functions.php” file within the Enfold Child theme for WordPress.

 

REVEAL CODE

/*
** Hide Enfold Theme Debugging Info
*/
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 );
}

 

If this article was helpful please take a moment to like us on Facebook, share this on your social media or buy us a cup of coffee.