apply_filters( "register_{$taxonomy}_taxonomy_args", array $args, string $taxonomy, string[] $object_type )

Filters the arguments for registering a specific taxonomy.


Description

The dynamic portion of the filter name, $taxonomy, refers to the taxonomy key.

Possible hook names include:

  • register_category_taxonomy_args
  • register_post_tag_taxonomy_args

Parameters

$args

Array of arguments for registering a taxonomy.<br> See the register_taxonomy() function for accepted arguments.

$taxonomy

Taxonomy key.

$object_type

Array of names of object types for the taxonomy.


Source

File: wp-includes/class-wp-taxonomy.php

View on GitHub


Changelog

Changelog
Version Description
6.0.0 Introduced.