Skip to content

Instantly share code, notes, and snippets.

@bonny
Created October 20, 2012 16:00
Show Gist options
  • Save bonny/3923744 to your computer and use it in GitHub Desktop.
Save bonny/3923744 to your computer and use it in GitHub Desktop.
Taxonomy field Extended Return Values
Array
(
[name] => category
[singular_name] => Category
[plural_name] => Categories
[taxonomy] => stdClass Object
(
[hierarchical] => 1
[update_count_callback] =>
[rewrite] => Array
(
[hierarchical] => 1
[slug] => category
[with_front] => 1
[ep_mask] => 512
)
[query_var] => category_name
[public] => 1
[show_ui] => 1
[show_tagcloud] => 1
[_builtin] => 1
[labels] => stdClass Object
(
[name] => Categories
[singular_name] => Category
[search_items] => Search Categories
[popular_items] =>
[all_items] => All Categories
[parent_item] => Parent Category
[parent_item_colon] => Parent Category:
[edit_item] => Edit Category
[view_item] => View Category
[update_item] => Update Category
[add_new_item] => Add New Category
[new_item_name] => New Category Name
[separate_items_with_commas] =>
[add_or_remove_items] =>
[choose_from_most_used] =>
[menu_name] => Categories
[name_admin_bar] => category
)
[show_in_nav_menus] => 1
[cap] => stdClass Object
(
[manage_terms] => manage_categories
[edit_terms] => manage_categories
[delete_terms] => manage_categories
[assign_terms] => edit_posts
)
[name] => category
[object_type] => Array
(
[0] => post
)
[label] => Categories
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment