WP REST API – Filter posts date wise using given column

from 0$

WP REST API – Filter posts date wise using given column is a WP Plugin Package from the Open Source WP Plugins range In WordPress 4.7, Posts cannot be filtered based on modified, modified_gmt, date_gmt fields.


For more information about a tailored WP Plugin Package like WP REST API – Filter posts date wise using given column please contact us directly.

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

Download & install the zip archive

The plugin package installer can be downloaded from the WP2E project tab called “code”.

1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

WP REST API – Filter posts date wise using given column

typePlugin
version0.1
descriptionIn WordPress 4.7, Posts cannot be filtered based on modified, modified_gmt, date_gmt fields.