📅  最后修改于: 2022-03-11 14:57:16.595000             🧑  作者: Mango
//Group your data into an array:
$values = array(
'street' => $street,
'number' => $number,
'zipcode' => $zipcode,
'city' => $city
);
//Update the field using this array as value:
update_field( 'selector', $values, $post_ID );