Title: Barcode
Last modified: February 5, 2019

---

# Barcode

 *  Resolved [zweihochvier](https://wordpress.org/support/users/zweihochvier/)
 * (@zweihochvier)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/barcode-5/)
 * Hello,
 * thank you for your great plugin. Everything works well and I’m really happy.
   
   I use the invoice part of the plugin. And I have one thing I want to change. 
   I want to disable the barcode, because i don’t need it. But i didn’t find anything
   at all.
 * Can you help me?
    Kind regards,
 * Katja

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

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/barcode-5/#post-11175028)
 * Hello Katja,
    Our plugin does not print any barcodes… Are you by any chance using
   the WooEvents plugin?
 * It’s a feature that they have baked in but without a setting to disable it… The
   worst part about this is that it uses an external resource to generate the barcode
   that can make creating the PDF extremely slow (more information in the forums
   here: [PDFs slow to generate](https://wordpress.org/support/topic/pdfs-slow-to-generate/)).
 * You can remove this barcode from the PDF documents with a small code snippet:
 *     ```
       add_action( 'wpo_wcpdf_before_html', 'wpo_wcpdf_disable_wooevents_barcodes', 10, 2 );
       function wpo_wcpdf_disable_wooevents_barcodes( $document_type, $document ) {
       	remove_action( 'wpo_wcpdf_after_order_details', 'wooevents_add_barcode', 10, 2 );
       }
       ```
   
 * That’s more of a temporary workaround, I think it’s best if you let the WooEvents
   developers know you would like to be able to turn this feature off.
 * If you haven’t worked with code snippets (actions/filters) or functions.php before,
   read this guide: [How to use filters](https://docs.wpovernight.com/general/how-to-use-filters/)
 * Hope that helps!
 *  Thread Starter [zweihochvier](https://wordpress.org/support/users/zweihochvier/)
 * (@zweihochvier)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/barcode-5/#post-11186425)
 * Thank you so much. It worked. 😉
 * Kind regards
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/barcode-5/#post-11186852)
 * Very glad to hear that 🙂
 * Have a fantastic weekend!

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

The topic ‘Barcode’ 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: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/barcode-5/#post-11186852)
 * Status: resolved