Filter hook 'register_taxonomy_args'

in WP Core File wp-includes/class-wp-taxonomy.php at line 316

Description

Filters the arguments for registering a taxonomy.

Occurrences

Filename Line Number
wp-includes/class-wp-taxonomy.php 316

Parameters

Type Name Description
array $args Array of arguments for registering a taxonomy. See the register_taxonomy() function for accepted arguments.
string $taxonomy Taxonomy key.
string[] $object_type Array of names of object types for the taxonomy.

PHP Doc

/**
		 * Filters the arguments for registering a taxonomy.
		 *
		 * @since 4.4.0
		 *
		 * @param array    $args        Array of arguments for registering a taxonomy.
		 *                              See the register_taxonomy() function for accepted arguments.
		 * @param string   $taxonomy    Taxonomy key.
		 * @param string[] $object_type Array of names of object types for the taxonomy.
		 */