I am using 3 custom fields (checkboxes) with allowed values that are hardcoded in “Choices”. As the Choices are the same for all the 3 fields, I was wondering if is there a way to load dynamically these values from a “centralised” list, so when the list is updated, all the checkboxes related to the 3 fields will show the updated values.
The 3 custom fields are all User-profile related, therefore loaded in WP dashboard in the user profile
You can use an acf/load_field filter https://www.advancedcustomfields.com/resources/acf-load_field/. The choices of a checkbox field work the same as the choice for a select field https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/.
You can either hard code the choices in the filter or you could create an options page that let’s you set them and then load the choices from there.