Home › Forums › Backend Issues (wp-admin) › Page Link field type does not show pages in dropdown › Reply To: Page Link field type does not show pages in dropdown
Hi @contemplato
Thanks for the bug report.
At the moment, the page_link and post_object field use a post_status param of:
'post_status' => array('publish', 'private', 'draft', 'inherit', 'future'),
This explains why your custom status are not being included.
In the upcoming v5, I have changed this to:
'post_status' => 'any',
For now, can you please edit the core/fields/post_object.php file on line 93 and make this change manually?
Let me know if it works correctly with the change.
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.