Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wp-config for developement

// DEVELOP on wp-config.php
@ini_set( 'log_errors', 'On' );
@ini_set( 'display_errors', 'On' );
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'SCRIPT_DEBUG', true );
define('SAVEQUERIES', true);
Comment

wp-config for production

// PRODUCTION on wp-config.php
@ini_set( 'log_errors', 'Off' );
@ini_set( 'display_errors', 'Off' );
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );
define( 'SCRIPT_DEBUG', false );
Comment

wordpress production mode wp-config

//On your wp-config.php:
@ini_set( 'log_errors', 'Off' );
@ini_set( 'display_errors', 'Off' );
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );
define( 'SCRIPT_DEBUG', false );
define( 'DISABLE_WP_CRON', true ); // Carefully!
define( 'EMPTY_TRASH_DAYS', 30 ); // 30 days
define( 'WP_POST_REVISIONS', 8 );
Comment

PREVIOUS NEXT
Code Example
Php :: SQLSTATE[42S02] lumen 
Php :: laravel request input default value 
Php :: PHP join() Function 
Php :: laravel filter get pagiination does not flter Appending To Pagination Links 
Php :: how to add multiple images in php 
Php :: inverse hyperbolic cosine php 
Php :: add footer code 
Php :: laravel collection combine 
Php :: magento 1.9 get all product 
Php :: laravel generate unique string 
Php :: laravel blade array seearch select box 
Php :: checks if file is empty in php 
Php :: php send post request 
Php :: if file is not selected in file input type php 
Php :: wordpress post add input field 
Php :: laravel migration type to store html 
Php :: laravel model isdirty 
Php :: touches in laravel 
Php :: php refresh page without reloading 
Php :: php xml parser 
Php :: drupal 8 entity_view 
Php :: MySQL table in new page after click php 
Php :: laravel isset 
Php :: php variable inside mysql query 
Php :: how to disable screenshot jquery 
Php :: php capture include 
Php :: php namespaces 
Php :: laravel migration drop foreign keys 
Php :: php foreach multidimensional array recursive 
Php :: debugger in laravel 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =