';
}, PHP_INT_MIN);
add_action('woocommerce_checkout_after_customer_details', function () {
echo '';
}, PHP_INT_MAX);
add_action('woocommerce_checkout_before_order_review_heading', function () {
echo '
';
}, PHP_INT_MIN);
add_action('woocommerce_checkout_after_order_review', function () {
echo '
';
}, PHP_INT_MAX);
add_action(
'woocommerce_before_template_part',
function ($template_name, $template_path, $located, $args) {
if (! class_exists('Woocommerce_German_Market')) {
return;
}
if ($template_name !== 'checkout/form-checkout.php') {
return;
}
ob_start();
},
1,
4
);
add_action(
'woocommerce_after_template_part',
function ($template_name, $template_path, $located, $args) {
if (! class_exists('Woocommerce_German_Market')) {
return;
}
if ($template_name !== 'checkout/form-checkout.php') {
return;
}
$result = ob_get_clean();
echo str_replace(
'',
'
',
$result
);
},
1,
4
);