Home › Forums › Add-ons › Repeater Field › Delete repeater`s sub_field after expired date › Reply To: Delete repeater`s sub_field after expired date
https://developer.wordpress.org/reference/classes/wp_query/
You need to do a query to get all of the posts you want to look at and then use a have_posts() loop on that query. You will need to do global $post;
in your code before that loop.
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.