Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

hide wordpress error

/* provided by joshiyogesh0333@gmail.com */
/* add in config file  */
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );
define( 'SCRIPT_DEBUG', false );
define( 'SAVEQUERIES', false );

/* add in function.php file  */

ini_set('display_errors', 0);
ini_set('display_startup_errors', 0);
error_reporting(0);
 
PREVIOUS NEXT
Tagged: #hide #wordpress #error
ADD COMMENT
Topic
Name
5+8 =