Home Forums Backend Issues (wp-admin) acf/load_field not displaying values Reply To: acf/load_field not displaying values

  • You cannot use acf/load_field to create sub fields in an existing field in a field group, even if those fields are defined in another group.

    To add fields to a group you would have to use the acf/load_field_group filter. This is an undocumented filter.

    To be completely honest do not understand what you’re trying to accomplish here. Fields need to be defined when the field group is defined not when the field is loaded.

    Fields can be defined and added to field groups and even as sub fields using the acf_add_local_field() function and defining the parent of the field.

    Other things noticed in your code. All field keys must begin with “field_”, “sub_field_” will not work.