Created
January 22, 2016 20:00
-
-
Save AlkarE/edac6ad3bfd4ffecaa7f to your computer and use it in GitHub Desktop.
wp_server_info
This file contains hidden or 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
<?php | |
echo '<div style="text-align: center">WordPress: ' | |
. round(memory_get_usage()/1024/1024, 2) . 'MB ' | |
.' | MySQL:' . get_num_queries() . ' | '; | |
timer_stop(1); | |
echo 'sec</div>'; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment