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
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.
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!
© 2023 Advanced Custom Fields.