WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#36978 new enhancement

Add pre filter to get_term_by

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

Description

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 2 years ago.

Download all attachments as: .zip

Change History (2)

@spacedmonkey
2 years ago

#1 @spacedmonkey
2 years ago

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