Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

display wordpress error

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

/* add in function.php file  */

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
 
PREVIOUS NEXT
Tagged: #display #wordpress #error
ADD COMMENT
Topic
Name
6+6 =