Created
July 11, 2017 06:12
-
-
Save n1k1c4/ba6543565ae9d113d08e72dc8966edad to your computer and use it in GitHub Desktop.
WordPress - Show the number of queries and time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre><?php echo $wpdb->num_queries; ?>q, <?php timer_stop(1); ?>s</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment