[wp-trac] [WordPress Trac] #44466: Have a method to check if a taxonomy is viewable
WordPress Trac
noreply at wordpress.org
Tue Jun 26 13:43:59 UTC 2018
#44466: Have a method to check if a taxonomy is viewable
-------------------------+-----------------------------
Reporter: andizer | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
I was in need of a function that checks if a given taxonomy is viewable.
In WordPress there is already a similar function to check this for a post
type (is_post_type_viewable).
I think it would be useful to have this for taxonomies as well. Like
`is_taxonomy_viewable`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44466>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list