Remove part of shipping line

[ad_1]

Hi @acidburnsmk,

You can remove that text with a single CSS rule, taking advantage of the PDF template action hooks, specifically wpo_wcpdf_custom_styles.

Actually, I have written already the code snippet for you to achieve it, here:

/**
 * PDF Invoices & Packing Slip for WooCommerce:
 * Add custom styles to the PDF documents 
 */
add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
    ?>
	.shipped_via {
		display: none;
	}
    <?php
}, 10, 2 );

If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer