WP REST API – Filter posts date wise using given column

WP REST API – Filter posts date wise using given column Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,049 downloads
WP REST API – Filter posts date wise using given column Icon

Try plugin: WP REST API – Filter posts date wise using given column

We'll create fresh WordPress site with WP REST API – Filter posts date wise using given column installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About WP REST API – Filter posts date wise using given column

In WordPress 4.7, Posts cannot be filtered based on modified, modified_gmt, date_gmt fields.

0


0


0


0


0

updated: 6 years ago
since: 6 years ago
author: Vignesh Sundar

Description

In WordPress 4.7, Posts cannot be filtered based on modified, modified_gmt, date_gmt fields.
Using this plugin we can specify the column(any of date, date_gmt, modified, modified_gmt) as query parameter date_query_column to query against value(s) given in before and/or after query parameters.

Usage

Use the date_query_column parameter on any post endpoint such as /wp/v2/posts or /wp/v2/pages in combination with before and/or after parameter.

/wp-json/wp/v2/posts?after=2017-11-08T13:07:09&date_query_column=modified