Hide weight
-
The recent update has messed up the plugin for me. I’ve been using the below code with code snippets plugin to hide weight for a while now and the latest update has started to display the weight again on my packing slip when generating new slips. How can I remove the weight? The below code no longer works. Thanks!
add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_hide_weight', 10, 2 );
function wpo_wcpdf_hide_weight( $document_type, $document ) {
?>
.meta .weight { display:none !important; }
<?php
}
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.