WordPress.org

Make WordPress Core

Opened 14 months ago

Last modified 13 months ago

#23636 new enhancement

Allow multiple slugs in get_terms

Reported by: jfarthing84 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.5
Component: Taxonomy Keywords: has-patch
Focuses: Cc:

Description

Just as the title says, sometimes I need to retrieve multiple term IDs from slugs. Rather than calling get_term_by over and over, it'd be better to be able to specify an array of slugs for get_terms.

Attachments (1)

taxonomy.patch (654 bytes) - added by jfarthing84 14 months ago.
Allow array of slugs in get_terms.

Download all attachments as: .zip

Change History (2)

jfarthing8414 months ago

Allow array of slugs in get_terms.

comment:1 SergeyBiryukov13 months ago

  • Version changed from trunk to 3.5
Note: See TracTickets for help on using tickets.