Opened 20 years ago
Closed 20 years ago
#2563 closed defect (bug) (fixed)
Add meta_key and meta_value options to get_posts() and get_pages()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.1 | Priority: | normal |
| Severity: | normal | Version: | 2.0.1 |
| Component: | Administration | Keywords: | meta post page api query bg|has-patch bg|needs testing |
| Focuses: | Cc: |
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.
In get_posts() and get_pages() test meta_key and meta_value