[wp-trac] [WordPress Trac] #21949: Allow private taxonomies (public = false)
WordPress Trac
noreply at wordpress.org
Fri Oct 23 15:28:10 UTC 2015
#21949: Allow private taxonomies (public = false)
--------------------------------+---------------------------
Reporter: wpsmith | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch rest-api | Focuses:
--------------------------------+---------------------------
Comment (by Chouby):
Just a comment from a developper doing weird things with taxonomies.
In a plugin, I use a non public taxonomy with a query var because my
understanding of the register_taxonomy arguments were as follows:
{{{'query_var' => 'foo'}}} tells WP to handle the taxonomy in queries
{{{'public' => false}}} tells themes developpers "please don't display
terms on public site"
{{{'show_ui' => false}}} tells WP not to use the default ui.
Now I will of course set {{{public => true}}} for my taxonomy but how to
tell themes developpers not to display the taxonomy terms?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21949#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list