WordPress Taxonomies

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

Syntax

  • register_taxonomy( $taxonomy, $object_type, $args );

Parameters

ParameterDetails
$taxonomy(string) (required) The name of the taxonomy. Name should only contain lowercase letters and the underscore character, and not be more than 32 characters long (database structure restriction).
$object_type(array/string) (required) Name of the object type for the taxonomy object. Object-types can be built-in Post Type or any Custom Post Type that may be registered.
$args(array/string) (optional) An array of Arguments.


Got any WordPress Question?