How could I exclude draft or child pages from a page link field ?
With acf/fields/post_object/query it’s not working because the page link it’s not a post object.
acf/fields/post_object/query is the wrong hook. You need to use acf/fields/page_link/query. I don’t think this hook is not documented but it works the same as the others that are.
Thank you ! It works now !