Make WordPress Core

Opened 8 years ago

Last modified 5 years ago

#36978 new enhancement

Add pre filter to get_term_by

Reported by: spacedmonkey's profile spacedmonkey Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch needs-unit-tests
Focuses: Cc:


Like other get get_*_by functions the get_term_by should have a pre filter. This filter should specially be useful to short-circuit the default logic, perhaps to add caching.

Attachments (1)

36978.patch (1.1 KB) - added by spacedmonkey 8 years ago.

Download all attachments as: .zip

Change History (2)

8 years ago

#1 @spacedmonkey
8 years ago

  • Keywords has-patch needs-unit-tests added
Note: See TracTickets for help on using tickets.