Update post meta array – add new, single value
I think you’re close. In my code I’ve assumed that the desired customer_email meta looks like this: array( 0 => ‘[email protected]’, 1 => ‘[email protected]’, 2 => ‘[email protected]’, ); What you need to do is add the new email address to the array of existing email addresses, then save the updated array back to the meta … Read more