Posted By

gregdbarnes on 02/28/14


Tagged

php wordpress


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

gregdbarnes
fhenderson


Wordpress Debug Info


 / Published in: PHP
 

URL: http://webaces.co.uk

Wordpress Debug Info Find out basic information about your WordPress installation and server environment
  1. <h3>Wordpress Debug Info:</h3>
  2. <p><strong>NOTE: </strong>You will see <em>either</em> a Timezone String <em>or</em> a GMT Offset -- not both.</p>
  3. <ul>
  4. <li>PHP Version on this server: <?php echo phpversion(); ?></li>
  5. <li>WordPress core version: <?php bloginfo( 'version' ); ?></li>
  6. <li>WordPress Timezone String: <?php echo get_option('timezone_string'); ?></li>
  7. <li>WordPress GMT Offset: <?php echo get_option('gmt_offset'); ?></li>
  8. <li>WordPress Date Format: <?php echo get_option('date_format'); ?></li>
  9. <li>WordPress Time Format: <?php echo get_option('time_format'); ?></li>
  10. </ul>
  11. </div>

Report this snippet  

You need to login to post a comment.