Created
August 31, 2013 19:12
-
-
Save schutzsmith/6400038 to your computer and use it in GitHub Desktop.
Execute admin only code in Wordpress
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
if(!is_admin()) | |
return; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment