Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get taxonomies for custom post type

// get a list of available taxonomies for a post type
$taxonomies = get_taxonomies(['object_type' => ['your_post_type']])
 
PREVIOUS NEXT
Tagged: #taxonomies #custom #post #type
ADD COMMENT
Topic
Name
6+5 =