Created
May 16, 2025 23:07
-
-
Save loorlab/4db799f310e7e7c49059db8f1ae060ab to your computer and use it in GitHub Desktop.
View the taxonomies associated with a CPT (e.g., person) - WP CLI
This file contains hidden or 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
wp eval 'print_r( get_object_taxonomies("person") );' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Array
(
[0] => post_tag
[1] => persons_categories
)