Opened 3 months ago

Last modified 7 weeks ago

#23636 new enhancement

Allow multiple slugs in get_terms

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

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 3 months ago.
Allow array of slugs in get_terms.

Download all attachments as: .zip

Change History (2)

Allow array of slugs in get_terms.

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