Core Function
View Source on Trac ↗ is_taxonomy_viewable()
is_taxonomy_viewable( mixed $taxonomy ) Determines whether a taxonomy is considered "viewable".
Parameters 1 required
| Name / Type | Description |
|---|---|
| (string | | WP_Taxonomy) $taxonomy Taxonomy name or object. Required |
Return Value
(bool)
Whether the taxonomy should be considered viewable.
Function Information
Since Version
5.1.0
Source File
wp-includes/taxonomy.php
Advertisement