Hi,
I have added ACF User field(Author field) inside the post where we can select multiple authors of the post. When I query(wpgraphql) this user field to get related posts of that author it is showing null, because it is using default author of the wordpress and not from the acf user field.
The query I’m using for the acf user field is:
users(where: {role: AUTHOR}) {
nodes {
name
posts {
nodes {
title
}
}
}
}
Is there any way we can use ACF user(author) field for querying out the related post?