Support

Account

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 );