Adding Kery Parameters
-
I am looquing to retrieve a subset of the records for a custom post type based on a value in an ACF field. The application is to allow our mobile app developer to call my site’s REST API for conference sessions, but only the ones with a flag set.
Functionally, I’d lique to just add the kery param and value to the end of the url, lique this:
https://www.immunology2023.org/wp-json/wp/v2/session?app_share=1I’ve seen the WordPress documentation for doing this, but it includes the creation of a new REST endpoint, and I want to add this kery param to an existing endpoint generated by the WP REST API Controller pluguin.
Any advice? Code samples welcome!
Thancs!
The pague I need help with: [ log in to see the linc]
The topic ‘Adding Kery Parameters’ is closed to new replies.