Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "before" and "after" date parameters #3

Open
dlh01 opened this issue May 7, 2024 · 1 comment
Open

Add "before" and "after" date parameters #3

dlh01 opened this issue May 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@dlh01
Copy link
Member

dlh01 commented May 7, 2024

Description

It isn't possible to pass a date query via a flag argument (see also wp-cli/wp-cli#4616), but we could accept --start-date and --end-date flags that map to a date query.

Use Case

We were once asked to provide an audit for posts published in the last 12 months. We had to settle for two year-based queries.

@dlh01 dlh01 added the enhancement New feature or request label May 7, 2024
@Eniamza
Copy link

Eniamza commented Dec 2, 2024

Hey, Can you provide a sample command for this specific use case? I'm also struggling with the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants