wphooks.info - register_taxonomy_args

register_taxonomy_args

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/class-wp-taxonomy.php:
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
		/**
		 * Filters the arguments for registering a taxonomy.
		 *
		 * @since 4.4.0
		 *
		 * @param array    $args        Array of arguments for registering a taxonomy.
		 * @param string   $taxonomy    Taxonomy key.
		 * @param string[] $object_type Array of names of object types for the taxonomy.
		 */
		$args = apply_filters( 'register_taxonomy_args', $args, $this->name, (array) $object_type );

		$defaults = array(
			'labels'                => array(),
			'description'           => '',
			'public'                => true,
			'publicly_queryable'    => null,
			'hierarchical'          => false,
			'show_ui'               => null,
			'show_in_menu'          => null,