/** * Update WCPBC Customer country when order review is update */ public function checkout_country_update($post_data) { if (isset($_POST['country']) && !in_array($_POST['country'], $this->customer->countries)) { $this->customer->set_country($_POST['country']); } }