I'm using the tssupp_populate_user_field function to auto-populate a select field with all the posts from a custom post type. The name for the select field is 'member office location' and my custom post type is Office. This is how I'm using it:
I can't, however, auto-populate a checkbox or a multiple option checkbox with this same function. I've researched and nothing seems to work. Do you have a solution for this or is it a way you can help me with this?
This is actually an undocumented function meant to be used internally only. However I know this works for Select fields. I'm not so sure if this works for checkbox fields.
Unfortunately no I wouldn't be able to assist with this because this is actually out of our support forum scope.
This is because there isn't an official hook that is available to do this. For this to be possible we would need to look into the code that the developers created to find the function that they are using.
Which would not be recommended because this function can get deprecated at any time. So unfortunately this wouldn't be possible for me to do.
However what I can do is to open a ticket with our 2nd tier supporters to see if they have a solution for this .