Plugin Contributor
Ewout
(@pomegranate)
Hi Robbie,
We’re in the process of updating the documentation. You probably read the bit under “No more global variables” in the beta announcement: https://wpovernight.com/2017/06/woocomerce-pdf-invoice-2-0-beta-testers-wanted/
Let me know if you have any specific questions!
Ewout
Thread Starter
Robbie
(@robbie505)
Thanks,
Well, it would be a great help if you can tell me how proceed with this pre 2.0 function:
function ps_wcpdf_after_order_details ( $template_type, $order ) {
global $wpo_wcpdf;
if ( $wpo_wcpdf->get_order_notes() ) {
?>
<div class="invoice-notes">
<b><?php _e( 'Opmerking:', 'wpo_wcpdf' ); ?></b>
<?php echo $wpo_wcpdf->order_notes(); ?>
</div>
<?
}
}
-
This reply was modified 8 years, 11 months ago by
Robbie.
Thread Starter
Robbie
(@robbie505)
Your link helped me out. I can continue now. 😉