Support

Account

Home Forums Backend Issues (wp-admin) Populate a radio-button Custom Field in the Backend Reply To: Populate a radio-button Custom Field in the Backend

  • Hi @jobo21,

    Thanks for the follow up.

    You should be able to apply the same logic to the Radio button field in the same way that it applies to the select field.

    You will only need to loop through the array in your db and append the values to [‘choices’] of the $field settings.

    I would recommend you debug the value of get_field_object(‘your_radio_field_name’) to get an idea of how the field settings are structured.