Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Acf to api › Reply To: Acf to api
July 15, 2022 at 9:16 am
#38433
Keymaster
Hi,
Do you mean adding custom field query arguments to the REST API?
Or do you want to add custom field data to the result title or content fields in the REST API results? That might be actually possible. First, set up the advanced title and content fields, with the custom fields you want to display.
Then when doing the REST API request, you can access these generated titles in the $result->asp_data->title and $result->asp_data->content fields.