Support

Account

Home Forums ACF PRO Adding locations to a field group Reply To: Adding locations to a field group

  • You need to add a filter, the hook is undocumented.

    
    add_filter('acf/get_field_group', 'my_modify_field_group_function');
    function my_modify_field_group_function($group) {
      // $group contains all field group settinngs
      // you can modify them and return them
      return $group;
    }