Created
May 14, 2013 01:21
-
-
Save shaynesanderson-zz/5572912 to your computer and use it in GitHub Desktop.
Check memory limit
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
<?php | |
function ss_php_memory_check() { | |
echo '<!-- PHP Memory Limit: ' . ini_get( 'memory_limit' ) . ' -->'; | |
} | |
add_action( 'wp_footer', 'ss_php_memory_check', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment