Home › Forums › Add-ons › Repeater Field › Get $_POST['acf'] value of repeater field in post object › Reply To: Get $_POST['acf'] value of repeater field in post object
$measurement_client = $_POST['acf']['field_5e147914518a6']; // Post Object field in the current post
The above value will be the post ID of the post, not an object
$measurement_client_id = intval($_POST['acf']['field_5e147914518a6']);
$measurement_client = get_post($measurement_client_id );
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.