templates/yith-pdf-invoice/receipt-totals.php
Section after the document total
Params
object $current_order the order object
Section after the document total
Params
object $current_order the order object
templates/yith-pdf-invoice/receipt-details.php
Section after the product content in the receipt product column
Paramsobject $document the document object
object $_product the product object
object $item_id the item ID
templates/yith-pdf-invoice/order-content.php
Action to show the products list
Params
object $document the document object
Action to show the template totals
Params
object $document the document object
templates/yith-pdf-invoice/invoice-totals.php
Section after the document total
Params
object $current_order the order object
Section after the document total
Params
object $current_order the order object
templates/yith-pdf-invoice/invoice-template.php
Params
object $document the document object
Show the header of the document
Params
object $document the document object
Show the template that contains the company data
Params
object $document the document object
Show the template for the customer and invoice data
Params
object $document the document object
Show the template for the product details
Params
object $document the document object
Show the template for the order notes
Params
object $document the document object
templates/yith-pdf-invoice/invoice-details.php
Section after display the product image in the invoice data
Paramsobject $_product the product object.
object $document the document object.
Section after display the product name in the invoice data
Paramsobject $_product the product object.
object $document the document object.
Section after the product content in the invoice product column
Paramsobject $document the document object
object $_product the product object
object $item_id the item ID
templates/yith-pdf-invoice/document-notes.php
Section before display the document notes
Section after display the document notes
Params
object $document the document object.
Section to display the delivery date label
Params
object $document the document object.
templates/yith-pdf-invoice/document-data.php
Params
object $document the document object
Params
object $document the document object
templates/yith-pdf-invoice/document-data-receipt.php
Section to display the Barcode or QR from the YITH Barcodes plugin
Params
int the order ID.
templates/yith-pdf-invoice/document-data-packing-slip.php
Section at the start of the packing slip
Params
object $document the document object.
Display the packing slip data after the order number
Params
object $document the document object.
Display the packing slip data after the order date
Params
object $document the document object.
Section at the end of the packing slip
Params
object $document the document object.
templates/yith-pdf-invoice/document-data-invoice.php
Section to display the Barcode or QR from the YITH Barcodes plugin
Params
int the order ID.
templates/yith-pdf-invoice/document-data-credit-note.php
Section after the display of the order number in the template
Params
object $document the document object
templates/yith-pdf-invoice/customer-details.php
Section after the customer content in the invoice
Paramsobject $document the document object
int $order_id the order ID
templates/yith-pdf-invoice/credit-note-totals.php
Section before the document total
Params
object $current_order the order object
Section after the document total
Params
object $current_order the order object
templates/yith-pdf-invoice/credit-note-details-with-products.php
Section after the product content in the invoice product column
Paramsobject $document the document object
object $_product the product object
object $item_id the item ID
templates/yith-pdf-invoice/pdf-builder/product-totals.php
Section before the document total
Params
object $current_order the order object
Section after the document total
Params
object $current_order the order object
templates/yith-pdf-invoice/pdf-builder/product-totals-credit-notes.php
Section before the document total
Params
object $current_order the order object
Section after the document total
Params
object $current_order the order object
templates/yith-pdf-invoice/pdf-builder/product-table.php
Section after display the product image in the invoice data
Paramsobject $_product the product object.
object $resource the document object.
Section after display the product name in the invoice data
Paramsobject $_product the product object.
object $resource the document object.
Section after the product content in the invoice product column
Paramsobject $resource the document object
object $_product the product object
object $item_id the item ID
templates/yith-pdf-invoice/modern_template/document-data.php
Params
object $document the document object
templates/yith-pdf-invoice/black_white_template/document-data.php
Params
object $document the document object
Params
object $document the document object
includes/class.yith-ywpi-backend.php
Section to show the invoice buttons in the orders list
Params
object $order the order object
Section after the view invoice button
Params
object $order the order object
Section at the bottom of the invoice section
Params
object $post the post object
Section after the view credit note button
Params
object $refund the refund object
Allow to print additional sections in the invoice metabox at the order edit page
Params
object $post the $post object
Section at the bottom of the invoice order metabox
Params
object $order the order object
includes/class.yith-woocommerce-pdf-invoice.php
Trigger the regenerate document on bulk actions
Paramsobject $object the invoice object.
int $order_id the order ID.
string $type the document type
string $extension the document extension
Trigger after the automatic proforma creation
Params
int $order_id the order ID.
Trigger after the automatic invoice creation
Params
int $order_id the order ID.
Trigger after the automatic packing slip creation
Params
int $order_id the order ID.
Section to show the invoice information link
Paramsobject $invoice the invoice object.
int $order the order object.
Trigger when a document is created
Paramsobject $document the document object.
string $document_type the document type.
string $extension the document extension.
Trigger when a document is regenerated
Paramsobject $document the document object.
string $document_type the document type.
string $extension the document extension.
Allow custom actions before replace the customer details in the documents
Allow custom actions after write the HTML in the PDF template
Paramsobject $mpdf the MPDF object
object $document the document object
Allow custom actions after generate the PDF template
Paramsobject $mpdf the MPDF object
object $document the document object
Allow custom actions before generate the PDF template
Paramsobject $document the document object
string $extension the document extension
includes/class.yith-woocommerce-pdf-invoice-premium.php
Allow actions in the custom item metas
Paramsint $item_id the item ID.
object $order the order object
includes/class.yith-documents-bulk.php
Trigger the create document on bulk actions
Paramsobject $object the invoice object.
int $post_id the post ID.
string the document type