Created
January 14, 2013 19:46
-
-
Save johnbhartley/4532746 to your computer and use it in GitHub Desktop.
WordPress author check.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
get_the_author() grabs the display name, set by the user, so if the display name for admin is JMoney, it would have to be == 'JMoney'