Skip to main content

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

NameTypeDescription
$allowedboolWhether access is allowed. Default: false.
$taxonomystringThe taxonomy name being accessed.
$post_idintThe post ID.

Since

Source

Defined in includes/Sources/PostTypes.php at line 439