Opened 21 years ago
Closed 21 years ago
#2563 closed defect (bug) (fixed)
Add meta_key and meta_value options to get_posts() and get_pages()
| Reported by: | ryan | Owned by: | MichaelH |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Administration | Version: | 2.0.1 |
| Severity: | normal | Keywords: | meta post page api query bg|has-patch bg|needs testing |
| Cc: | Focuses: |
Description
Allow restricting post and page queries by meta keys and values.
Example: get_posts('meta_key=foo&meta_value=bar')
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In get_posts() and get_pages() test meta_key and meta_value