Created
April 17, 2020 08:46
-
-
Save dvdopi/a9f6dc9153beed19a423635c5ab6595c to your computer and use it in GitHub Desktop.
wordpress - get taxonomy of a post type
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
get_terms([ | |
'taxonomy' => 'gallery-item', | |
'hide_empty' => false, | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment