Skip to content

Instantly share code, notes, and snippets.

@Spoygg
Created April 26, 2012 06:41
Show Gist options
  • Save Spoygg/2496790 to your computer and use it in GitHub Desktop.
Save Spoygg/2496790 to your computer and use it in GitHub Desktop.
Check number of queries made for WP page
<?php echo $wpdb->num_queries; ?> <?php _e('queries'); ?>. <?php timer_stop(1); ?> <?php _e('seconds'); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment