Home › Forums › ACF PRO › ACF Post Object field is unable to handle posts with custom post statuses › Reply To: ACF Post Object field is unable to handle posts with custom post statuses
I’ve researched a bit about this and I think the issue is related to the line 1307 of the file /includes/api/api-helpers.php
(plugin version 5.12.3). This line says:
'post_status' => 'any',
and it doesn’t allow you to change it via filters. Is there a way to change it to another value in order to force it to accept custom post statuses?
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.