Opened 7 years ago

Closed 5 years ago

Last modified 4 years ago

#2522 closed enhancement (duplicate)

Extend the API's `query_themes` action to allow passing multiple theme slugs

Reported by: bernhard-reiter's profile Bernhard Reiter Owned by:
Milestone: Priority: low
Component: Theme Directory Keywords:


Right now, it's possible to pass a single theme slug to query_themes to obtain data for that theme, e.g. GET

I propose extending the API so I can pass in multiple theme slugs and obtain the corresponding list of theme info objects.

E.g. like this:

(Right now, that returns data for Twenty Fifteen only.)

My use case is a scenario where I already have a list of themes (say, locally installed in a WP install) for which I'd like to fetch additional information from in one sweep.

Change History (3)

#1 @Otto42
7 years ago

  • Type changed from defect to enhancement

#2 @dd32
5 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

This ticket was mentioned in Slack in #themereview by dingo_d. View the logs.

4 years ago

Note: See TracTickets for help on using tickets.