Created
April 5, 2017 09:43
-
-
Save IdleMuse/bf229bb819bc3431a25c24b4a038a91f 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
function filter_author($name){ | |
if(in_category("insert_category_name_here")){ | |
return ""; | |
} | |
else return $name; | |
} | |
add_filter('the_author','filter_author'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment