Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

feat: ACF v6 support #333

Merged
merged 2 commits into from
Sep 15, 2022
Merged

Conversation

jasonbahl
Copy link
Contributor

This adds support for the upcoming ACF v6 release.

  • add new render_field_wrap function to determine whether to use the …ACF v6+ version of acf_reder_field_wrap or the older version
  • add space between Type name and label in field list
  • update JS that sets the "GraphQL Field Name" based on the Field Group title

…ACF v6+ version of acf_reder_field_wrap or the older version

- add space between Type name and label in field list
- update JS that sets the "GraphQL Field Name" based on the Field Group title
@jasonbahl jasonbahl added enhancement New feature or request ACF Options Pages labels Sep 15, 2022
@jasonbahl jasonbahl self-assigned this Sep 15, 2022
…onal arguments to the v5 version of acf_render_field_wrap is actually not an issue. The shape of the function didn't change, it just added more arguments. So we can pass the new arguments and v5 just wont do anything with them but v6 will use them.
@jasonbahl jasonbahl merged commit 3659ed5 into wp-graphql:develop Sep 15, 2022
@jasonbahl jasonbahl mentioned this pull request Sep 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ACF Options Pages enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant