Category PickPlugins Invoice for WooCommerce

wooin_invoice_templates

Now imagine that you want to add a custom template from external source, not from that specific directory, then you can do that easily with this filter hook. // Add New template from other directory function add_custom_template( $templates ){ $templates[…

wooin_invoice_templates_internal

With this filter hook, you can easily add new Templates. But you just need to place it inside `wp-content/plugins/woo-invoice/templates/invoice-templates/my-template` Each template should have minimum 3 files. my-template.png style.css template.php   // Add New template function add_my_template( $templates ){ $templates[‘my-template’] =…