Filter: gk/lookup/field/access/private-taxonomy
Filters whether to allow access to a non-public taxonomy in lookup field display.
By default, only public taxonomies are accessible. Use this filter to allow access to specific private taxonomies.
Parameters
| Name | Type | Description |
|---|---|---|
| $allowed | bool | Whether access is allowed. Default: false. |
| $taxonomy | string | The taxonomy name being accessed. |
| $post_id | int | The post ID. |
Since
Source
Defined in includes/Sources/PostTypes.php at line 439