PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. API
  4. date_query enabler
date_query enabler icon

date_query enabler

A plugin to add date_query to the list of allowed filters for the REST API so we can filter by date after/before.

By arikogan·API·Free
5(2 reviews)
·10 active installs·Updated 10 years ago
DownloadVisit HomepageCompare

As of April 2026, date_query enabler is a WordPress api plugin with 10 active installations and a 5/5 rating from 2 reviews. It has been downloaded 1.5K+ times in total. Requires WordPress false+ and PHP false+. Available on WordPress.org since 2016. Last updated 10 years ago — may have compatibility concerns. Top alternative: WP Consent API.

5/52 reviews
10active installs
1.5K+total downloads
10 yearssince 2016

Overview

WP REST API plugin provides the ability to interact with a WordPress installation through a REST API. When retrieving posts, a use case would be to filter them based on they publish date by before/after a certain date. In WordPress this can be achieved using the date_query parameter. However, the parameter is not part of the whitelisted parameters of WP REST API. A workaround is to add it ourselves as discussed here. This plugin adds the date_query param to the whitelist not modifying the theme of WordPress but by using a very small and simple plugin. This allows to change and upgrade themes freely and still keep the whitelisting of the parameter.

After installing WP REST API and this plugin, you should be able to run queries like the below,

/wp-json/wp/v2/posts?filter[date_query][after]=…
Read full description on WordPress.org

Ratings & Reviews

52 reviews
5 ★
2
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPressfalse+ requiredTested up to 4.3.34
PHPfalse+ required

Top Alternatives to date_query enabler

WP Consent API icon
WP Consent API
5200K+ installsUpdated 3 weeks ago
ViewCompare
Disable REST API icon
Disable REST API
4.890K+ installsUpdated 2 years ago
ViewCompare
Mailgun for WordPress icon
Mailgun for WordPress
3.880K+ installsUpdated 2 months ago
ViewCompare
Make Connector icon
Make Connector
2.780K+ installsUpdated 1 month ago
ViewCompare
Disable WP REST API icon
Disable WP REST API
4.830K+ installsUpdated 1 week ago
ViewCompare
View all api plugins →

Frequently Asked Questions

Changelog

0.1

  • First version.
View full changelog on WordPress.org

Contributors

arikoganarikogan
Plugin Info
Version
0.1
Last Updated
Feb 28, 2016
WP Requires
false+
Tested Up To
4.3.34
PHP Requires
false+
Active Installs
10
Downloads
1.5K+
Added
Mar 1, 2016
Business
Free

Tags

apirest

Developer

A
arikogan
1 plugins0.0M+ total installs
View all plugins →

Quick Compare

date_query enabler vs WP Consent API→date_query enabler vs Disable REST API→date_query enabler vs Mailgun for WordPress→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.