Skip to content

Commit 24152cf

Browse files
committed
- revert the change to acf_get_raw_fields back to acf_get_fields
1 parent e4761ca commit 24152cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Registry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ protected function get_acf_fields( $parent_field_group ): array {
476476
// Then check database.
477477
} else {
478478
$parent_field_group_id = $parent_field_group['ID'] ?? null;
479-
$raw_fields = acf_get_raw_fields( $parent_field_group_id );
479+
$raw_fields = acf_get_fields( $parent_field_group_id );
480480
foreach ( $raw_fields as $raw_field ) {
481481
$fields[] = $raw_field;
482482
}

0 commit comments

Comments
 (0)