Make WordPress Core

Opened 7 years ago

Last modified 4 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 7 years ago.

Download all attachments as: .zip

Change History (2)

7 years ago

#1 @spacedmonkey
7 years ago

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