-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Labels
command:post-listRelated to 'post list' commandRelated to 'post list' commandgood-first-issueGood for newcomersGood for newcomers
Description
Feature Request
- Yes, I reviewed the contribution guidelines.
Describe your use case and the problem you are facing
wp post list support arbitrary --<field> being passed to WP_Query but date parameters which depends on a nested structure are not handled. Doing so would allow handy filtering logic based on post date attributes.
Describe the solution you'd like
--date-<field> could be used as a prefix opening the way to things like --date-before=2024-01-01 or --date-year=2025
(The same applied to meta_query would also be great as it would resolves the long-standing problem of retrieving posts based on meta-condition straight from wp post list without any piping/subcommand)
skorasaurus
Metadata
Metadata
Assignees
Labels
command:post-listRelated to 'post list' commandRelated to 'post list' commandgood-first-issueGood for newcomersGood for newcomers