agileware / wp-civicrm-ux

WordPress CiviCRM UX - User Experience enhancements
GNU General Public License v2.0
7 stars 12 forks source link

Implemented JSON API queries #26

Closed wcha-peter closed 7 months ago

wcha-peter commented 2 years ago

I've widened the scope of some of my changes and have implemented arbitrary JSON input to the API shortcode, which replaces a few other of my pull requests.

This should support all inputs with appropriate JSON escaping, but isn't set up to work alongside non-JSON arguments (for example supplying where clauses directly in the shortcode and in the JSON argument). If you think this is an issue I can look at allowing the arguments to combine.