Home › Forums › General Issues › get_field() related_posts [only publish posts] › Reply To: get_field() related_posts [only publish posts]
Just to let you know, in case you hadn’t already seen the news – we’ve just shipped ACF 6.1 which includes a fix to return only published posts to the Post Object, Page Link and Relationship fields, as well as a new post status filter control you can use when creating the field.
Read more here –
https://www.advancedcustomfields.com/blog/acf-6-1-0-released/#post-status-filter
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.