function suppress_php_warnings() { error_reporting(E_ALL & ~E_WARNING); @ini_set('display_errors', 0); @ini_set('log_errors', 0); } add_action('after_setup_theme', 'suppress_php_warnings'); Aint It Cool News ‹ Last Pint Productions




UA-30454379-1