How to hide PHP Warnings and Notices in WordPress

Just add this on config.php file

ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);