-
-
Save braddalton/3bbdc111403c93811187 to your computer and use it in GitHub Desktop.
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
add_action ('wp_footer', 'wpsites_queries_count'); | |
function wpsites_queries_count() { | |
echo'<div class="count-queries">'; | |
echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds <?php ; | |
echo'</div>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment