Opened 3 years ago
Closed 3 years ago
#14153 closed feature request (wontfix)
Specifying an array of parameters for the taxonomy registration
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Post Types | Version: | |
| Severity: | normal | Keywords: | reporter-feedback close |
| Cc: | beau@… |
Description
Patch allows you to specify an $args [ "taxonomies" ] with $args for register taxonomy. Example:
$args [ "taxonomies" ] = array("custom_taxonomy" => array("show_ui" => true, "show_menu" => false ) );
Attachments (1)
Change History (4)
surger1976 — 3 years ago
comment:1
beaulebens — 3 years ago
- Cc beau@… added
- Keywords reporter-feedback close added
I don't see why we need to overload register_post_type to support register_taxonomy. If you need to register a taxonomy, you should follow up with a call to register_taxonomy. register_taxonomy_for_object_type is enough, no?
Note: See
TracTickets for help on using
tickets.

post.php register_post_type