Created
August 12, 2014 20:23
-
-
Save JackNUMBER/ecddc4529b8939017987 to your computer and use it in GitHub Desktop.
[Wordpress] List categories in a taxonomy
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
<? | |
$args = array( | |
'orderby' => 'name', | |
'order' => 'ASC', | |
'hide_empty' => false | |
); | |
$categories = get_terms('taxonomy_name', $args); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment