WP_Query Route To REST API Plugin
Adds new route /wp-json/wp_query/args/ to REST API.
Installation
Download and activate. That’s it.
Changelog
1.3.2
Release Date – 12 April 2022
Fix PHP warning caused by 1.3.0 argument sanitizing refactoring.
1.3.1
Release Date – 7 April 2022
Fix composer license to a valid license.
1.3.0
Release Date – 5 April 2022
Compatibility release with a few new features. 100% backwards compatible.
- Custom HTML output is now allowed (#10)
- Instance and argument sanitizing can be now reused (#11)
- Typos in filter names are fixed while keeping old names also working (#5)
- Updates WP version, plugin version and some readme tweaks
1.2.0
Release Date – 25 July 2019
*WordPress.org release
1.1.1
Release Date – 3 June 2017
- Added advanced example in readme for getting PHP WP_Query for JS. Added table of contents. Made the title hierarchy more logical.
1.1
Release Date – 5 April 2017
- Make the return data structure same as /wp-json/wp/posts/. The data schema was missing some data before. Now the structure is inherited from the WP_REST_Posts_Controller as it should have from the start.