-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Advanced Custom Fields: Gravityforms Add-on #143
base: develop
Are you sure you want to change the base?
Support for Advanced Custom Fields: Gravityforms Add-on #143
Conversation
Release/v0.3.2
Release/v0.3.3
It appears that this PR has fallen through the cracks. Is there a chance we can get this reviewed and merged in? |
Hi! Any updates on this? |
Any news on this issue? |
For those following this, the PR relies on an old release of WPGraphQL for Gravity Forms, which is why its not working for y'all. |
@justlevine Thank you for the follow up. Do you have any idea for a relase date for the v0.10.0 ? We are building a site that would need this functionnality. |
At the current pace, I'm guessing ~ 3 weeks. |
Is there any updates on this? |
@justlevine really hoping to get that add_filter snippet at some point |
@derek36 check out this doc, and this slack thread for an acf example. |
Thanks a lot! For anybody else who finds this in their searches and doesn't want to join the Slack channel, here's what I added to the WP functions.php file in order to get the ACF GF add-on select's value to show up on the wp-graphql side as a full fledged form: `// inspired by: https://github.com/NicholasRowe/wp-graphql-acf-gf-picker
} |
Support for Form Object, FormID and multiple selection: https://gist.github.com/marek-miotelka/f4e90c12ce62f7fbe023814d10591f81 |
The gist linked above works partially. It does not take into account that the |
This will add support for the ACF Gravityforms add-on plugin when the following plugins are both installed and activated:
GravityForms 2.+
Advanced Custom Fields: Gravityforms Add-on
When selecting
Form ID
as output value, an integer will be returned in your query:Will return:
When selecting
Form ID
as output value and enablingMultiple selections
, an array of integers will be returned in your query:This will return:
When selecting
Form Object
as output value, you will need an additional plugin to be installed and activated in order to get a full GraphQL Form type object:WPGraphQL for Gravity Forms with dev-master branch.
Note: At the moment WPGraphQL for Gravity Forms only works with WPGraphQL versions up to 0.7.1. See issue.
When selecting
Form Object
as output value, a Gravity Form object will be returned in your query:See the WPGraphQL for Gravity Forms documentation for more query examples.
When selecting
Form Object
as output value and enablingMultiple selections
, an array of Gravity Form Objects will be returned in your query.Note: I can understand if you don't feel comfortable adding an extra 3rd party plugin as dependency to yours, but I thought I gave it a try anyway!