In WooCommerce, predefined filters allow store owners to customize and extend the functionality of their order documents, such as invoices, packing slips, and credit notes. These filters enable businesses to customize documents according to their precise requirements to increase efficiency and customer satisfaction. The Help Guide tab of WooCommerce PDF Invoices, Packing Slips, and Credit Notes plugin provides many filters that can extend the plugin’s functionality. Filters can be found by navigating to Invoice/ Packing > General Settings > Help Guide >Filters.
You can add a filter as a custom code snippet to your WordPress site. Add it to the active child theme’s functions.php file, or use a third-party plugin for the addition. For more details, check out the following article: Adding Custom Codes with a Third-Party Plugin.

Filter to show/hide the ‘Received’ seal
The filter wf_pklist_toggle_received_seal can be used to hide the received seal in the invoice for refunded orders.
- Scroll down the page and locate the filter.
- Then, expand the code and copy the code as shown below:
- Next, paste the code into the functions.php of the active theme file.
Filter to show the ‘Received’ seal only for completed orders
Add the custom code snippet to print the Received seal for the completed order status. Add it to the active child theme’s functions.php file or use a third-party plugin for the addition. To learn more, check out the following article: Adding Custom Codes with a Third-Party Plugin.
add_filter('wf_pklist_toggle_received_seal','wf_pklist_toggle_received_seal_fn', 10, 3);
function wf_pklist_toggle_received_seal_fn($is_enable_received_seal, $template_type, $order)
{
return ($order->get_status()=='completed');
}
Note: The Payment received stamp must be enabled in the active template. You can edit that received text to “Paid”, which is located in the customize tab.
Filter to show the ‘Canceled’ seal for canceled orders
Before adding the code snippet, navigate to Invoice/Packing > Invoice > Customize.
Find the Payment received stamp element from the editor pane of the template.
Remove the text inside the Payment received stamp.
Add the code snippet to show the ‘Canceled seal’ for canceled orders and the ‘Received seal’ for completed orders. Add it to the active child theme’s functions.php file, or use a third-party plugin for the addition. To learn more, check out the following article: Adding Custom Codes with a Third-Party Plugin.
Discover More:
Ignace
October 18, 2024
Where can I find the documentation reference for your filters & hooks?
I have searched your website and the help guide page for this filter:
wf_pklist_alter_tax_inclusive_text
And I am unable to find it.
Sanjai Valsan
October 28, 2024
Hi Ignace,
Thank you for reaching out! Our help guide currently lists some commonly used filters and hooks, but it doesn’t cover every available filter, including
wf_pklist_alter_tax_inclusive_text
.If you’d like more details on this specific filter, please contact our customer support team, who can assist you with additional information and guidance on customization.
Wanda
September 7, 2023
How can show No Total ITEMS on invoice, packing list or proform invoice
Hema
September 25, 2023
Hello Wanda,
Thanks for reaching out. The “Total number of items” is available in the packing list. Currently, our plugin doesn’t support this for the invoice and proforma invoice. If you are a premium user, kindly contact customer support to get customized code for your requirement.
Arun Rangarajulu
March 21, 2021
How to add a new subtotal after fee calculation and before taxes?
Subtotal (-) Fee = Subtotal 2.
Mark
March 31, 2021
Hi Arun,
Please submit a ticket here with a detailed explanation of your requirement and screenshot of the order edit page highlighting which data you want to add. Our support team will assist you if possible.
gbwhatsapp
October 3, 2019
about woocommerce predefined filters is good