piklist_taxonomies

apply_filters('piklist_taxonomies', self::$taxonomies);

Extends the standard WordPress function register_taxonomy() with additional features and parameters.

Parameters

piklist_taxonomies supports all parameters from register_taxonomy() as well as these custom parameters:

object_type

To create a taxonomy for USERS set this parameter user

  • Input: Boolean

Example:

'object_type' => 'user

hide_meta_box

Hide the meta box created by this taxonomy

  • Input: Boolean

Example:

"hide_meta_box" => true

meta_box_filter

Add a filter to this meta box to make it easier to search for terms.

  • Input: Boolean

Example:

"meta_box_filter" => true

Have ideas for improving the documentation?

This documentation is a community effort. Please create an issue or pull request to help!

Improve this page