Add payment method to prints

The following snippet adds the payment method Nimbus template prints

function sl_cc_printus_extra_template_data_010424($extra, $order, $template_name){

return $extra . '<br/><strong>Payment method:</strong> ' . $order->get_payment_method_title();

}
add_filter('printus_template__extra_data', 'sl_cc_printus_extra_template_data_010424', 12, 3);
Scroll to Top