Home › Forums › Add-ons › Repeater Field › Querying database for repeat sub fields displaying revisions › Reply To: Querying database for repeat sub fields displaying revisions
Hi @Nathan
Within your loop, you can check the post_status of the $row->post_id
. You can use this to determin if the post is published.
Please have a read of the WP function get_post_status
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.