2

I'm looking to only return entries that were published in the last 90 days.

2

Within the criteria for the endpoint, set

'postDate' => '>=' . date('Y-m-d', strtotime("-90 days"))

Of course you can adjust the date to suit your needs.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.