Search
 
SCRIPT & CODE EXAMPLE
 

PHP

debug wordpress errors

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
Comment

how to debug in wordpress

// This enables debugging.
define( 'WP_DEBUG', true );
Comment

PREVIOUS NEXT
Code Example
Php :: php ucfirst all words 
Php :: “laravel migration data types” 
Php :: date_default_timezone_set india 
Php :: livewire onkeydown 
Php :: disable gutenberg editor wordpress functions.php 
Php :: link acf 
Php :: how to install bootstrap in laravel 8 
Php :: wp_redirect to home page 
Php :: wordpress get post id 
Php :: var_dump _post php 
Php :: Hours to minute convert in php 
Php :: get all post values in php 
Php :: php remove quotes 
Php :: laravel migration remove column 
Php :: compare hashed password and a text password in laravel 
Php :: remove space from string php 
Php :: db not found in laravel 
Php :: get last 30 days records in laravel 
Php :: full url php 
Php :: get a cookie in php 
Php :: wp wc php if cart page is empty redirect 
Php :: must be an instance of IlluminateHttpRequest 
Php :: php clean html tags 
Php :: valide email php 
Php :: php change sting to caps 
Php :: yii 1 clear cache 
Php :: laravel order by raw 
Php :: laravel updateorcreate 
Php :: php get location from ip address 
Php :: php laravel xml to json 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =