Possible to filter supporter fields?
-
Hey Cornershop folks!
I’ve got a question regarding the Supporter Fields. I’d like to be able to feed data into custom fields within Salsa Engage.
I checked out how the plugin is currently handling getting supporter fields, and it looks like it’s hard-coded within the supporter_field_map() function on line 667 of class-gfengage.php. I’m thinking one way I could pass in a custom field to this would be if there was a filter on the $supporter_fields array—this could allow for adding a custom field ID/label at the end of the array.
Thoughts on whether this would be feasible? Or if there would be another way to include custom fields within the supporter field list? I checked out the Salsa API, and it looks like custom fields follow a similar structure to other default fields:
https://help.salsalabs.com/hc/en-us/articles/224470107-Engage-API-Supporter-Data#example-requestThanks so much for providing this plugin to the community!
The topic ‘Possible to filter supporter fields?’ is closed to new replies.