This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
Options values always empty #203
Labels
Location Rules
Issues related to ACF Location Rules
Needs to be reproduced
status: awaiting author response
Additional information has been requested from the author
Milestone
I've created an ACF option page, registered it with
'show_in_graphql' => true
and it appear in the graphiql schema.But when I try to query this field it always return
null
.When trying to debug the issue I've found that here the
acf_get_field_groups
function return the field definition but not the values.If I try to add a
print_r(get_fields('options'))
I see that the values are present but not loaded with this function.Another thing (maybe related), the query needed looks like it and is not really similar to the different documentations about this feature:
Wordpress 5.6
Advanced Custom Fields PRO 5.9.3
WP GraphQL 1.1.2
WPGraphQL for Advanced Custom Fields 0.3.5
The text was updated successfully, but these errors were encountered: