I’m using WP Rest API to access published petitions, but I can’t found where to know the received signatures (or supporters) using its rest API. It’s possible to access this info?
Conikal Changed status to publish January 6, 2021
To get signature, you need add custom endpoint (https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/)
with callback function inside file campoal/inc/supporter_donor.php
You should copy function conikal_supporters_list, conikal_donors_list to children theme without function_exist and remove line:
Conikal Answered question January 6, 2021
- Views2719 times
- Answers1 answer