Home › Forums › Feature Requests › Add ability to exclude drafts from Relationship field › Reply To: Add ability to exclude drafts from Relationship field
@lucidlips while I agree your solution is simple, I think data entered and set a non-published documents / post entry is not made public, it should not be pulled through as such.
I think the default should be published only. If a developer wants to change this a php template change should be made available for an override.
Just my 2 pennies..
Great code example btw!
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.