Answers for "acf update group field"

0

acf update group field

//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 );
Posted by: Guest on July-10-2021

Browse Popular Code Answers by Language