Search
 
SCRIPT & CODE EXAMPLE
 

PHP

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 :: getname eloquent slug laravel 
Php :: create associative array php by key value site:stackoverflow.com 
Php :: how to make category for spesific post wordpress devv 
Php :: dynamic base url 
Php :: pluck only category name and id from model in laravel 
Php :: how to check php version in cpanel 
Php :: laravel How to query foreign relations data along with multiple main records 
Php :: Set post views count using post meta 
Php :: remove ul container from wp_nav_menu 
Php :: how to get many of quensation php programming language 
Php :: Same Taxonomy Add Multiple Post Type 
Php :: php resize 
Php :: php refresh_ttl 
Php :: How to Create a Transient PHP wordpress 
Php :: import csv in laravel 
Php :: wp wc trim zero 
Php :: laravel query with optional filter 
Php :: echo (PHP 4, PHP 5, PHP 7, PHP 8) echo — Output one or more strings 
Php :: php Display random custom content in WooCommerce shop archive loop 
Php :: old value on edit table laravel 6 
Php :: php ussd 
Php :: nano seed generator 
Php :: Laravel 9 Multiple File Upload 
Php :: laravel Relations transform 
Php :: Insert Data using modal 
Php :: Symfony 5 - Customize Twig error templates 
Php :: expresions 
Php :: doiffernce between text and string in laravel migration 
Php :: php post http 
Php :: php array push key value 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =