Debuging Wordpress code in production stage


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if($_SERVER['REMOTE_ADDR'] == 'your.ip.address.here') define('WP_DEBUG', true); else define('WP_DEBUG', false);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.