Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#33990 closed enhancement (fixed)

Add register_taxonomy_args filter

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile johnbillion
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch
Focuses: Cc:

Description

Follow-up to #17447.

A corresponding filter should be added for the args when registering a taxonomy.

Attachments (1)

33990.patch (1.1 KB) - added by tyxla 9 years ago.
Introducing a register_taxonomy_args filter that allows to modify the $args when registering a taxonomy.

Download all attachments as: .zip

Change History (5)

@tyxla
9 years ago

Introducing a register_taxonomy_args filter that allows to modify the $args when registering a taxonomy.

#1 @tyxla
9 years ago

  • Keywords has-patch added; needs-patch removed

#2 @wonderboymusic
9 years ago

  • Owner set to johnbillion
  • Status changed from new to assigned

#3 @johnbillion
9 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 34787:

Introduce a register_taxonomy_args filter for filtering the arguments passed when calling register_taxonomy(). This is the taxonomy equivalent of the newly introduced register_post_type_args filter.

Fixes #33990
Props tyxla for initial patch

#4 @johnbillion
8 years ago

#14449 was marked as a duplicate.

Note: See TracTickets for help on using tickets.