Title: 2.0 Documentation
Last modified: July 18, 2017

---

# 2.0 Documentation

 *  Resolved [Robbie](https://wordpress.org/support/users/robbie505/)
 * (@robbie505)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/2-0-documentation/)
 * Hi Ewout,
 * I know I have read about dropping the $wpo_wcpdf global in the 2.0 update, but
   can’t find it anymore.
 * Is there some updated documentation for me to read?
    I’m stuck at updating my
   customisations..
 * Thanks, keep it up!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/2-0-documentation/#post-9329883)
 * 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/](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](https://wordpress.org/support/users/robbie505/)
 * (@robbie505)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/2-0-documentation/#post-9329897)
 * 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](https://wordpress.org/support/users/robbie505/).
 *  Thread Starter [Robbie](https://wordpress.org/support/users/robbie505/)
 * (@robbie505)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/2-0-documentation/#post-9329919)
 * Your link helped me out. I can continue now. 😉

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘2.0 Documentation’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Robbie](https://wordpress.org/support/users/robbie505/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/2-0-documentation/#post-9329919)
 * Status: resolved