Opened 17 years ago
Closed 17 years ago
#12516 closed enhancement (fixed)
New function: get_taxonomies();
| Reported by: | ptahdunbar | Owned by: | filosofo |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
WordPress has a function for retrieving all post types based on a certain criteria called get_post_types(). Taxonomies should have this kind of API too.
Attachments (2)
Change History (8)
#2
@
17 years ago
Maybe add the $output parameter to get_object_taxonomies() instead of adding a new function.
#3
@
17 years ago
- Keywords 2nd-opinion removed
- Milestone Unassigned → 3.1
After more thought, get_taxonomies() would be quite handy.
get_object_taxonomies(), along with the rest of the functions, could be made to use it.
+1
Note:
See TracTickets
for help on using tickets.
I'm not sure this is needed, since you would use get_object_taxonomies() most of the time.