get_shipping_country(), $optionRows); $namePrefix = WCPOST_Admin::SHIPMENT_OPTIONS_FORM_NAME . "[{$order->get_id()}]"; foreach ($optionRows as $optionRow) : $class = new SettingsFieldArguments($optionRow, $namePrefix); // Cast boolean values to the correct enabled/disabled values. if (is_bool($optionRow["value"])) { $optionRow["value"] = $optionRow["value"] ? WCPN_Settings_Data::ENABLED : WCPN_Settings_Data::DISABLED; } $class->setValue($optionRow["value"]); ?>
%s", wc_help_tip($optionRow['help_text'], true)); } ?>