PeproDev Ultimate Invoice 3.2.50 has 19 actions and 333 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when PeproDev Ultimate Invoice fires an action
add_action( 'puiw_printinventory_after_create_html', function( $opt, $opts, $order ) {
// Your code runs here.
}, 10, 3 );
// Change a value PeproDev Ultimate Invoice is about to use
add_filter( 'puiw_get_template_dir_path', function( $opt, $order ) {
// Change $opt here.
return $opt;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
apply_filters( "puiw_setting_section_{$current_section}", array( "puiw_items_title" => array( 'puiw_tabs' => array( 'people' => _x("Store and customer", "wc-setting-tab", "pepro-ultimate-invoice"), 'order' => _x("Order details", "wc-setting-tab", "pepro-ultimate-invoice"), 'rows' => _x("Item rows", "wc-setting-tab", "pepro-ultimate-invoice"), 'totals' => _x("Prices and totals", "wc-setting-tab", "pepro-ultimate-invoice"), ), 'name' => _x("Show/Hide it... ); -
puiw_get_template_dir_path
filterapply_filters( 'puiw_get_template_dir_path', $opt["template"], $order ); -
puiw_is_pro
filterapply_filters( 'puiw_is_pro', false ); -
apply_filters( 'puiw_get_default_mail_pdf_temp_path', $namedir, $order_id ); -
puiw_get_template_dir_url
filterapply_filters( 'puiw_get_template_dir_url', plugin_dir_url($opt["template"] . "/default.cfg"), $opt["template"], $order ); -
puiw_debug_enabled
filterapply_filters( 'puiw_debug_enabled', $debug_true ); -
apply_filters( 'puiw_invoice_item_extra_classes', [], $product, $item_id, $item, $order, $n ); -
apply_filters( 'puiw_invoice_item_get_meta_data', $item->get_meta_data(), $product, $item, $order ); -
puiw_invoice_item_get_name
filterapply_filters( 'puiw_invoice_item_get_name', $item->get_name(), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_product_dimension', $this->fn->get_product_dimension($item->get_product_id()), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_product_discount', $discount_display, $discount_precent, $discount_amount, $opt["show_discount_calc"], $opt["show_discount_display"], $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_product_weight', $this->fn->get_format_weight($weight_raw), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_product_weight_raw', $product->get_weight(), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_purchase_note', $product->get_purchase_note(), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_quantity', $item->get_quantity(), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_subtotal', wc_price($item->get_subtotal()), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_subtotal_tax', wc_price($item->get_subtotal_tax()), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_tax_class', $item->get_tax_class(), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_tax_status', $item->get_tax_status(), $product, $item, $order ); -
puiw_invoice_item_get_total
filterapply_filters( 'puiw_invoice_item_get_total', wc_price($item->get_total()), $product, $item, $order ); -
puiw_order_items
filterapply_filters( 'puiw_order_items', $order->get_items(), $order ); -
apply_filters( 'peprodevups_alert_after_active', $message ); -
apply_filters( 'puiw_generate_pdf_name_orderid_format', array( "invoice_prefix" => $this->fn->get_invoice_prefix(), "invoice_suffix" => $this->fn->get_invoice_suffix(), "invoice_start" => $this->fn->get_invoice_start(), ) ); -
apply_filters( 'puiw_generate_pdf_title_of_pdf', $pdf_title ); -
apply_filters( 'puiw_get_default_mail_pdf_temp_name', $namedotext, $order_id ); -
puiw_get_export_pdf_name
filterapply_filters( 'puiw_get_export_pdf_name', $name, $order_id_formatted, $order_id, $datenow ); -
puiw_get_templates_list
filterapply_filters( 'puiw_get_templates_list', glob(PEPROULTIMATEINVOICE_DIR . "template/*/default.cfg") ); -
puiw_parse_pdf_template
filterapply_filters( 'puiw_parse_pdf_template', $styleExifDAta, $contents ); -
apply_filters( 'puiw_printinvoice_create_html_options', $opts, $order ); -
apply_filters( "puiw_printinvoice_create_html_options_{$key}_value", $value, $key, $order ); -
apply_filters( 'puiw_printinvoice_getinvoice_shipping_method', $order->get_shipping_method(), $opts, $order ); -
apply_filters( 'puiw_printslips_order_note_customer', "<strong>" . __("Note provided by Customer", "pepro-ultimate-invoice") . "</strong><br>" . $this->fn->get_order_note($order, "a"), $this->fn->get_order_note($order, "a"), $order, $opt ); -
apply_filters( 'puiw_printslips_order_note_shopmngr', "<strong>" . __("Note provided by Shop manager", "pepro-ultimate-invoice") . "</strong><br>" . $this->fn->get_order_note($order, "b"), $this->fn->get_order_note($order, "b"), $order, $opt ); -
apply_filters( 'pepro_one_page_purchase_categories_args', $cat_args ); -
apply_filters( 'pepro_one_page_purchase_prodcuts_args', $prodcuts_args ); -
apply_filters( 'pepro_one_page_purchase_prodcuts_date_format', "Y-m-j h:i:s" ); -
apply_filters( 'pepro_ultimate_invoice_default_options', $wc_opt, $clear_mode ); -
apply_filters( 'pepro_ultimate_invoice_orders_action', $actions, $order, $allowed_statuses, $this->print->has_access("HTML", $order), $this->print->has_access("PDF", $order) ); -
apply_filters( 'pepro_ultimate_invoice_orders_column_data', $col_data, $order_id ? $order_id : $post->ID ); -
apply_filters( 'puiw_ajax_required_capabilities', $privileged ); -
puiw_asset_conflicts
filterapply_filters( 'puiw_asset_conflicts', $out ); -
puiw_create_pdf_fit_height
filterapply_filters( 'puiw_create_pdf_fit_height', $fit_height, $order_id, $order, $MODE ); -
puiw_create_pdf_Mpdf_options
filterapply_filters( 'puiw_create_pdf_Mpdf_options', array( "fontDir" => array_merge($fontDirs, [plugin_dir_path(__FILE__)]), "mode" => "utf-8", "fontdata" => $_fontData, "default_font" => $this->fn->get_pdf_font(), "format" => $get_pdf_size, "margin_right" => (float) $template_pdf_setting["pdf_margin_right"] + (!$fit_height ? (float) $this->fn->get_margin_right() : 0), "margin_left" => (float) $template_pdf_setting["pdf_margin_left"] + (!$fit_he... ); -
apply_filters( 'puiw_create_slips_pdf_Mpdf_options', array( 'fontDir' => array_merge($fontDirs, [plugin_dir_path(__FILE__)]), 'fontdata' => $_fontData, 'default_font' => $this->fn->get_pdf_font(), 'format' => $get_pdf_size, 'mode' => 'utf-8', 'margin_right' => $template_pdf_setting["pdf_margin_right"], 'margin_left' => $template_pdf_setting["pdf_margin_left"], 'margin_top' => $template_pdf_setting["pdf_margin_top"], 'margin_bottom' => $template_p... ); -
puiw_dashboard_paid_statuses
filterapply_filters( 'puiw_dashboard_paid_statuses', array("wc-processing", "wc-completed", "wc-on-hold") ); -
puiw_debug_environment
filterapply_filters( 'puiw_debug_environment', array( _x("Plugin version", "wc-setting", "pepro-ultimate-invoice") => $PeproUltimateInvoice->version, _x("WordPress version", "wc-setting", "pepro-ultimate-invoice") => get_bloginfo("version"), _x("WooCommerce version", "wc-setting", "pepro-ultimate-invoice") => defined("WC_VERSION") ? WC_VERSION : "-", _x("PHP version", "wc-setting", "pepro-ultimate-invoice") => PHP_VERSION, _x("Database", "w... ); -
puiw_debug_list_items
filterapply_filters( 'puiw_debug_list_items', array( "mbstring" => "extension", "mbregex" => "extension", "mb_regex_encoding" => "function", "gd" => "extension", "zlib" => "extension", "bcmath" => "extension", "xml" => "extension", "curl" => "extension", "zip" => "extension", ) ); -
puiw_debug_report_lines
filterapply_filters( 'puiw_debug_report_lines', $lines ); -
puiw_debug_report_settings
filterapply_filters( 'puiw_debug_report_settings', array( "puiw_template", "puiw_preinvoice_template", "puiw_pdf_font", "puiw_pdf_size", "puiw_pdf_orientation", "puiw_date_shamsi", "puiw_date_format", "puiw_force_persian_numbers", "puiw_invoice_language", "puiw_template_direction", "puiw_show_qr_code_id", "puiw_show_invoices_id_barcode", "puiw_allow_pdf_customer", "puiw_allow_users_use_invoices", "puiw_allow_guest_users_view_invoices", "puiw_at... ); -
puiw_documentation
filterapply_filters( 'puiw_documentation', array( "<b " . (is_rtl() ? "class='fa'" : "") . ">" . _x("WordPress Shortcode", "setting-general", "pepro-ultimate-invoice") . "</b><hr>", '<strong class="tag">[puiw_quick_shop el_id="" el_class=""]</strong> <i>Outputs Quick Shop page. You can use Visual Composer Widget too.</i>', '<br />', "<b " . (is_rtl() ? "class='fa'" : "") . ">" . _x("WordPress Action Hooks", "setting-general", "pepro-ult... ); -
apply_filters( 'puiw_email_invoice_customer_subject', sprintf($this->tpl->get_email_subject(_x("Order #%s invoice on ", "wc-setting", "pepro-ultimate-invoice") . get_bloginfo('name', 'display')), $order_id) ); -
puiw_generate_pdf_page_size
filterapply_filters( 'puiw_generate_pdf_page_size', $get_pdf_size, $order_id, $order, "PDF" ); -
apply_filters( 'puiw_generate_pdf_watermark_alpha', (float) $daynamic_params["watermark_opacity_10"], $order_id, $order, "PDF" ); -
apply_filters( 'puiw_generate_pdf_watermark_img', $daynamic_params["watermark"], $order_id, $order, "PDF" ); -
apply_filters( 'puiw_generate_pdf_watermark_position', "P", $order_id, $order, "PDF" ); -
apply_filters( 'puiw_generate_pdf_watermark_show', true, $order_id, $order, "PDF" ); -
apply_filters( 'puiw_generate_pdf_watermark_size', "D", $order_id, $order, "PDF" ); -
apply_filters( 'puiw_get_address_display_method', nl2br($address_display_method), $default ); -
apply_filters( 'puiw_get_allow_guest_users_view_invoices', $allow_users_use_invoices, $default ); -
puiw_get_allow_pdf_customer
filterapply_filters( 'puiw_get_allow_pdf_customer', $allow_pdf_customer, $default ); -
puiw_get_allow_pdf_guest
filterapply_filters( 'puiw_get_allow_pdf_guest', $allow_pdf_customer, $default ); -
apply_filters( 'puiw_get_allow_preorder_emptycart', $allow_preorder_emptycart, $default ); -
apply_filters( 'puiw_get_allow_preorder_invoice', $allow_preorder_invoice, $default ); -
puiw_get_allow_quick_shop
filterapply_filters( 'puiw_get_allow_quick_shop', $allow_preorder_invoice, $default ); -
apply_filters( 'puiw_get_allow_users_have_invoices', $allow_users_use_invoices, $default ); -
apply_filters( 'puiw_get_allow_users_use_invoices', $allow_users_use_invoices, $default ); -
apply_filters( 'puiw_get_allow_users_use_invoices_criteria', $allow_users_use_invoices_criteria, $default ); -
puiw_get_allowed_roles
filterapply_filters( 'puiw_get_allowed_roles', $value, $default ); -
apply_filters( 'puiw_get_attach_pdf_invoices_to_mail', $attach_pdf_invoices_to_mail, $default ); -
puiw_get_custom_css_style
filterapply_filters( 'puiw_get_custom_css_style', $custom_css_style, $default ); -
puiw_get_date
filterapply_filters( 'puiw_get_date', $converted_date, $date_str, $timestamp, $date_format, $default_format, $force_format ); -
puiw_get_date_shamsi
filterapply_filters( 'puiw_get_date_shamsi', $date_shamsi, $default ); -
apply_filters( 'puiw_get_default_dynamic_params', $opts, $order ); -
apply_filters( 'puiw_get_disable_wc_dashboard', $disable_wc_dashboard, $default ); -
puiw_get_email_from_address
filterapply_filters( 'puiw_get_email_from_address', $email_from_address, $default ); -
puiw_get_email_from_name
filterapply_filters( 'puiw_get_email_from_name', $email_from_name, $default ); -
puiw_get_email_subject
filterapply_filters( 'puiw_get_email_subject', $invoice_title ); -
puiw_get_font_size
filterapply_filters( 'puiw_get_font_size', $font_size, $default ); -
apply_filters( 'puiw_get_force_persian_numbers', $force_persian_numbers, $default ); -
puiw_get_format_weight
filterapply_filters( 'puiw_get_format_weight', wc_format_weight($weight), $weight ); -
puiw_get_inventory_css_style
filterapply_filters( 'puiw_get_inventory_css_style', $inventory_css_style, $default ); -
puiw_get_invoice_language
filterapply_filters( 'puiw_get_invoice_language', $mode, $default ); -
puiw_get_invoice_prefix
filterapply_filters( 'puiw_get_invoice_prefix', $invoice_prefix, $default ); -
puiw_get_invoice_start
filterapply_filters( 'puiw_get_invoice_start', $invoice_start, $default ); -
puiw_get_invoice_suffix
filterapply_filters( 'puiw_get_invoice_suffix', $invoice_suffix, $default ); -
puiw_get_invoice_title
filterapply_filters( 'puiw_get_invoice_title', $invoice_title ); -
apply_filters( 'puiw_get_item_extra_attributes', $value, $default ); -
puiw_get_items_sorting
filterapply_filters( 'puiw_get_items_sorting', $show_product_sku2, $default ); -
puiw_get_order_note
filterapply_filters( 'puiw_get_order_note', $notes, $order, $note_type ); -
puiw_get_order_ship_date
filterapply_filters( 'puiw_get_order_ship_date', $date, $order, $shamsi ); -
puiw_get_order_track_id
filterapply_filters( 'puiw_get_order_track_id', $track_id, $order ); -
puiw_get_pdf_css_style
filterapply_filters( 'puiw_get_pdf_css_style', $custom_css_style, $default ); -
puiw_get_pdf_font
filterapply_filters( 'puiw_get_pdf_font', $invoice_prefix, $default ); -
puiw_get_pdf_margin_bottom
filterapply_filters( 'puiw_get_pdf_margin_bottom', $margin_bottom, $default ); -
puiw_get_pdf_margin_header
filterapply_filters( 'puiw_get_pdf_margin_header', $margin_header, $default ); -
puiw_get_pdf_margin_left
filterapply_filters( 'puiw_get_pdf_margin_left', $margin_left, $default ); -
puiw_get_pdf_margin_right
filterapply_filters( 'puiw_get_pdf_margin_right', $margin_right, $default ); -
puiw_get_pdf_margin_top
filterapply_filters( 'puiw_get_pdf_margin_top', $margin_top, $default ); -
puiw_get_pdf_orientation
filterapply_filters( 'puiw_get_pdf_orientation', $pdf_orientation, $default ); -
puiw_get_pdf_size
filterapply_filters( 'puiw_get_pdf_size', $pdf_size, $default ); -
puiw_get_pos_css_style
filterapply_filters( 'puiw_get_pos_css_style', get_option("puiw_pos_css_style", ""), "" ); -
apply_filters( 'puiw_get_postal_qr_code_label_for_customer', $postal_qr_code_label_for_customer, $default ); -
apply_filters( 'puiw_get_postal_qr_code_label_for_store', $postal_qr_code_label_for_store, $default ); -
apply_filters( 'puiw_get_postal_stickey_label_for_customer', $postal_stickey_label_for_customer, $default ); -
apply_filters( 'puiw_get_postal_stickey_label_for_store', $postal_stickey_label_for_store, $default ); -
puiw_get_postcode_display
filterapply_filters( 'puiw_get_postcode_display', $value, $default ); -
puiw_get_preinvoice_template
filterapply_filters( 'puiw_get_preinvoice_template', $template, $default ); -
apply_filters( 'puiw_get_preinvoice_theme_color', $theme_color, $default ); -
apply_filters( 'puiw_get_preinvoice_theme_color2', $theme_color, $default ); -
apply_filters( 'puiw_get_preinvoice_theme_color3', $theme_color, $default ); -
apply_filters( 'puiw_get_preorder_customer_extra_note', $custom_css_style, $default ); -
apply_filters( 'puiw_get_preorder_shopmngr_extra_note', $custom_css_style, $default ); -
apply_filters( 'puiw_get_price_inventory_report', $price_inventory_report, $default ); -
puiw_get_product_dimension
filterapply_filters( 'puiw_get_product_dimension', wc_format_dimensions( $product->get_dimensions( false ) ), $product->get_dimensions( false ), $product ); -
puiw_get_product_weight
filterapply_filters( 'puiw_get_product_weight', $this->get_format_weight($weight), $weight, $product ); -
puiw_get_public_invoice_url
filterapply_filters( 'puiw_get_public_invoice_url', $url, $order, $type ); -
apply_filters( 'puiw_get_send_invoices_via_email', $send_invoices_via_email, $default ); -
apply_filters( 'puiw_get_send_invoices_via_email_admin', $send_invoices_via_email_admin, $default ); -
apply_filters( 'puiw_get_send_invoices_via_email_opt', $send_invoices_via_email_opt, $default ); -
apply_filters( 'puiw_get_send_invoices_via_email_opt_admin', $send_invoices_via_email_opt_admin, $default ); -
apply_filters( 'puiw_get_send_invoices_via_email_shpmngrs', $send_invoices_via_email_shpmngrs, $default ); -
puiw_get_shelf_number_id
filterapply_filters( 'puiw_get_shelf_number_id', $shelf_number_id, $default ); -
apply_filters( 'puiw_get_show_coupons_amount_at_totals', $coupons_amount, $default ); -
apply_filters( 'puiw_get_show_coupons_code_at_totals', $coupons_code, $default ); -
apply_filters( 'puiw_get_show_coupons_description_at_totals', $coupons_description, $default ); -
apply_filters( 'puiw_get_show_coupons_discount_at_totals', $coupons_discount, $default ); -
apply_filters( 'puiw_get_show_customer_address', $show_customer_address, $default ); -
puiw_get_show_customer_email
filterapply_filters( 'puiw_get_show_customer_email', $show_customer_email, $default ); -
apply_filters( 'puiw_get_show_customer_order_count', $value, $default ); -
puiw_get_show_customer_phone
filterapply_filters( 'puiw_get_show_customer_phone', $show_customer_phone, $default ); -
puiw_get_show_discount_calc
filterapply_filters( 'puiw_get_show_discount_calc', $discount_calc, $default ); -
apply_filters( 'puiw_get_show_discount_display', $discount_display, $default ); -
apply_filters( 'puiw_get_show_discount_precent', $show_discount_precent, $default ); -
apply_filters( 'puiw_get_show_invoices_id_barcode', $show_barcode_id, $default ); -
puiw_get_show_item_discount
filterapply_filters( 'puiw_get_show_item_discount', $value, $default ); -
puiw_get_show_order_date
filterapply_filters( 'puiw_get_show_order_date', $show_order_date, $default ); -
puiw_get_show_order_items
filterapply_filters( 'puiw_get_show_order_items', $show_order_items, $default ); -
puiw_get_show_order_note
filterapply_filters( 'puiw_get_show_order_note', $show_order_note, $default ); -
apply_filters( 'puiw_get_show_order_note_inventory', $show_order_note_inventory, $default ); -
apply_filters( 'puiw_get_show_order_note_slip', $show_order_note_slip, $default ); -
puiw_get_show_order_status
filterapply_filters( 'puiw_get_show_order_status', $transaction_ref_id, $default ); -
puiw_get_show_order_total
filterapply_filters( 'puiw_get_show_order_total', $show_order_total, $default ); -
puiw_get_show_paid_date
filterapply_filters( 'puiw_get_show_paid_date', $transaction_ref_id, $default ); -
puiw_get_show_payment_method
filterapply_filters( 'puiw_get_show_payment_method', $show_payment_method, $default ); -
puiw_get_show_price_template
filterapply_filters( 'puiw_get_show_price_template', $show_price_template, $default ); -
apply_filters( 'puiw_get_show_product_dimensions', $show_product_dimensions, $default ); -
apply_filters( 'puiw_get_show_product_dimensions_in_inventory', $show_product_image_inventory, $default ); -
puiw_get_show_product_image
filterapply_filters( 'puiw_get_show_product_image', $show_product_image, $default ); -
apply_filters( 'puiw_get_show_product_image_inventory', $show_product_image_inventory, $default ); -
apply_filters( 'puiw_get_show_product_note_in_inventory', $show_product_image_inventory, $default ); -
apply_filters( 'puiw_get_show_product_purchase_note', $show_product_image, $default ); -
apply_filters( 'puiw_get_show_product_quantity_in_inventory', $show_product_image_inventory, $default ); -
puiw_get_show_product_sku
filterapply_filters( 'puiw_get_show_product_sku', $show_product_sku, $default ); -
apply_filters( 'puiw_get_show_product_sku_inventory', $show_product_sku_inventory, $default ); -
puiw_get_show_product_sku2
filterapply_filters( 'puiw_get_show_product_sku2', $show_product_sku2, $default ); -
apply_filters( 'puiw_get_show_product_sku2_inventory', $show_product_sku2_inventory, $default ); -
puiw_get_show_product_tax
filterapply_filters( 'puiw_get_show_product_tax', $show_product_tax, $default ); -
apply_filters( 'puiw_get_show_product_total_weight_in_inventory', $show_product_image_inventory, $default ); -
puiw_get_show_product_weight
filterapply_filters( 'puiw_get_show_product_weight', $show_product_weight, $default ); -
apply_filters( 'puiw_get_show_product_weight_in_inventory', $show_product_image_inventory, $default ); -
apply_filters( 'puiw_get_show_purchase_complete_date', $transaction_ref_id, $default ); -
puiw_get_show_qr_code_id
filterapply_filters( 'puiw_get_show_qr_code_id', $show_qr_code_id, $default ); -
apply_filters( 'puiw_get_show_shipping_address', $show_shipping_address, $default ); -
puiw_get_show_shipping_date
filterapply_filters( 'puiw_get_show_shipping_date', $transaction_ref_id, $default ); -
apply_filters( 'puiw_get_show_shipping_method', $show_shipping_method, $default ); -
apply_filters( 'puiw_get_show_shipping_ref_id', $show_shipping_ref_id, $default ); -
puiw_get_show_signatures
filterapply_filters( 'puiw_get_show_signatures', $signature, $default ); -
apply_filters( 'puiw_get_show_store_economical_number', $show_store_economical_number, $default ); -
apply_filters( 'puiw_get_show_store_national_id', $show_store_national_id, $default ); -
apply_filters( 'puiw_get_show_store_registration_number', $show_store_registration_number, $default ); -
puiw_get_show_tax_display
filterapply_filters( 'puiw_get_show_tax_display', $show_tax_display, $default ); -
apply_filters( 'puiw_get_show_transaction_ref_id', $transaction_ref_id, $default ); -
puiw_get_show_user_uin
filterapply_filters( 'puiw_get_show_user_uin', $show_user_uin, $default ); -
puiw_get_signature
filterapply_filters( 'puiw_get_signature', $signature, $default ); -
puiw_get_slip_layout
filterapply_filters( 'puiw_get_slip_layout', $value, $default ); -
puiw_get_slip_show_barcode
filterapply_filters( 'puiw_get_slip_show_barcode', $value, $default ); -
puiw_get_slip_show_weight
filterapply_filters( 'puiw_get_slip_show_weight', $value, $default ); -
puiw_get_slips_css_style
filterapply_filters( 'puiw_get_slips_css_style', get_option("puiw_slips_css_style", ""), "" ); -
puiw_get_slips_pdf_css_style
filterapply_filters( 'puiw_get_slips_pdf_css_style', get_option("puiw_slips_pdf_css_style", ""), "" ); -
puiw_get_store_address
filterapply_filters( 'puiw_get_store_address', $store_address, $default ); -
apply_filters( 'puiw_get_store_economical_number', $store_economical_number, $default ); -
puiw_get_store_email
filterapply_filters( 'puiw_get_store_email', $store_email, $default ); -
puiw_get_store_logo
filterapply_filters( 'puiw_get_store_logo', $store_logo, $default ); -
puiw_get_store_name
filterapply_filters( 'puiw_get_store_name', $store_name ); -
puiw_get_store_national_id
filterapply_filters( 'puiw_get_store_national_id', $store_national_id, $default ); -
puiw_get_store_phone
filterapply_filters( 'puiw_get_store_phone', $store_phone, $default ); -
puiw_get_store_postcode
filterapply_filters( 'puiw_get_store_postcode', $store_p_o_box, $default ); -
apply_filters( 'puiw_get_store_registration_number', $store_registration_number, $default ); -
puiw_get_store_website
filterapply_filters( 'puiw_get_store_website', $store_website, $default ); -
puiw_get_template
filterapply_filters( 'puiw_get_template', $template, $default ); -
puiw_get_template_direction
filterapply_filters( 'puiw_get_template_direction', $dir, $default ); -
puiw_get_thankyou_display
filterapply_filters( 'puiw_get_thankyou_display', $value, $default ); -
puiw_get_theme_color
filterapply_filters( 'puiw_get_theme_color', $theme_color, $default ); -
puiw_get_theme_color2
filterapply_filters( 'puiw_get_theme_color2', $theme_color, $default ); -
puiw_get_theme_color3
filterapply_filters( 'puiw_get_theme_color3', $theme_color, $default ); -
puiw_get_user_uin_label
filterapply_filters( 'puiw_get_user_uin_label', $value, $default ); -
puiw_get_user_uin_required
filterapply_filters( 'puiw_get_user_uin_required', $value, $default ); -
puiw_get_watermark
filterapply_filters( 'puiw_get_watermark', $watermark, $default ); -
puiw_get_watermark_blend
filterapply_filters( 'puiw_get_watermark_blend', $watermark_blend, $default ); -
puiw_get_watermark_opacity
filterapply_filters( 'puiw_get_watermark_opacity', $watermark_opacity, $default ); -
puiw_get_wc_store_address
filterapply_filters( 'puiw_get_wc_store_address', $return ); -
apply_filters( 'puiw_get_woosb_bundled_subtitle_prefix', $show_product_sku2, $default ); -
apply_filters( 'puiw_get_woosb_bundles_subtitle_prefix', $show_product_sku2, $default ); -
apply_filters( 'puiw_get_woosb_show_bundled_hierarchy', $show_product_sku2, $default ); -
apply_filters( 'puiw_get_woosb_show_bundled_products', $show_product_sku2, $default ); -
apply_filters( 'puiw_get_woosb_show_bundled_subtitle', $show_product_sku2, $default ); -
puiw_get_woosb_show_bundles
filterapply_filters( 'puiw_get_woosb_show_bundles', $show_product_sku2, $default ); -
apply_filters( 'puiw_get_woosb_show_bundles_subtitle', $show_product_sku2, $default ); -
apply_filters( 'puiw_guest_access_without_order_key', false, $order ); -
puiw_health_checks
filterapply_filters( 'puiw_health_checks', $checks ); -
puiw_icon_folders
filterapply_filters( 'puiw_icon_folders', array(PEPROULTIMATEINVOICE_DIR . "assets/phosphor/"), $name ); -
apply_filters( 'puiw_inventory_report_has_access', current_user_can("edit_shop_orders") || current_user_can("manage_woocommerce"), $order ); -
puiw_invoice_force_ltr
filterapply_filters( 'puiw_invoice_force_ltr', $this->force_ltr, $order, $lang, $mode ); -
puiw_invoice_forced_locale
filterapply_filters( 'puiw_invoice_forced_locale', $locale, $order, $lang, $mode ); -
apply_filters( 'puiw_invoice_item_extra_attributes', $out, $product, $item ); -
apply_filters( 'puiw_invoice_item_get_total_tax', wc_price($item->get_total_tax()), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_get_total_tax_inc', wc_price($item->get_total() + $item->get_total_tax()), $product, $item, $order ); -
apply_filters( 'puiw_invoice_item_original_price', $html, $item, $product, $order ); -
puiw_invoice_language
filterapply_filters( 'puiw_invoice_language', $lang, $order ); -
puiw_invoice_languages
filterapply_filters( 'puiw_invoice_languages', $languages ); -
apply_filters( 'puiw_load_themes_advanced_info', $tempaltesInfoTemp ); -
apply_filters( 'puiw_load_themes_return_advanced', $tempaltesInfo ); -
apply_filters( 'puiw_load_themes_return_simple', $tempaltes ); -
puiw_load_themes_simple_path
filterapply_filters( 'puiw_load_themes_simple_path', dirname($style), $style ); -
apply_filters( 'puiw_load_themes_simple_title', $template, $styleExifDAta["name"], $styleExifDAta["designer"], $styleExifDAta ); -
puiw_localize_pdf_images
filterapply_filters( 'puiw_localize_pdf_images', "yes" ); -
puiw_news_endpoint
filterapply_filters( 'puiw_news_endpoint', "https://peprodev.com/api/plugin-news.json" ); -
puiw_order_items_sort_by
filterapply_filters( 'puiw_order_items_sort_by', $this->fn->get_items_sorting("NONE") ); -
apply_filters( 'puiw_order_items_sort_by_force', $item_order_data, $item_order, $items_id, $item, $product, $items, $sort_by ); -
puiw_order_items_sort_desc
filterapply_filters( 'puiw_order_items_sort_desc', false ); -
puiw_order_metabox_actions
filterapply_filters( 'puiw_order_metabox_actions', $groups, $order ); -
puiw_pdf_size_slip
filterapply_filters( 'puiw_pdf_size_slip', $pdf_size, $default ); -
apply_filters( 'puiw_per_language_option_keys', array( "puiw_invoice_title", "puiw_store_name", "puiw_store_address", "puiw_invoices_footer", "puiw_email_subject", "puiw_email_from_name", "puiw_signature", "puiw_user_uin_label", "puiw_address_display_method", "puiw_preorder_customer_extra_note", "puiw_preorder_shopmngr_extra_note", ) ); -
do_action( 'puiw_printinventory_after_create_html', $opt, $opts, $order ); -
do_action( 'puiw_printinventory_after_return_html', $opt, $opts, $order ); -
do_action( 'puiw_printinventory_before_create_html', $opt, $opts, $order ); -
do_action( 'puiw_printinventory_before_return_html', $opt, $opts, $order ); -
apply_filters( 'puiw_printinventory_calculate_invoice_total_weight', $this->fn->get_format_weight($total_weight), $total_weight, $product_weight, $quantity, $product, $item, $order ); -
apply_filters( 'puiw_printinventory_create_html_item_row_metas', $optm, $item_id, $item, $product_id, $order ); -
apply_filters( 'puiw_printinventory_create_html_options', $opts, $order ); -
apply_filters( "puiw_printinventory_create_html_options_{$key}_value", $value, $key, $order ); -
apply_filters( 'puiw_printinventory_create_html_total_weight', $this->fn->get_format_weight(floatval($product_weight * $quantity)), floatval($product_weight * $quantity), $product_weight, $quantity, $item_id, $item, $product_id, $order ); -
apply_filters( 'puiw_printinventory_HTML_body', $body_content ); -
apply_filters( 'puiw_printinventory_HTML_extrahead', $extrainvoiceheaddata ); -
apply_filters( 'puiw_printinventory_HTML_style', $main_css_style ); -
apply_filters( 'puiw_printinventory_HTML_title', $invoicehtmltitle ); -
apply_filters( 'puiw_printinventory_order_note_customer', "<strong>" . __("Note provided by Customer", "pepro-ultimate-invoice") . "</strong><br>" . $this->fn->get_order_note($order, "a"), $this->fn->get_order_note($order, "a"), $order, $opt ); -
apply_filters( 'puiw_printinventory_order_note_shopmngr', "<strong>" . __("Note provided by Shop manager", "pepro-ultimate-invoice") . "</strong><br>" . $this->fn->get_order_note($order, "b"), $this->fn->get_order_note($order, "b"), $order, $opt ); -
apply_filters( 'puiw_printinventory_return_html', $template, $opt, $opts, $order ); -
apply_filters( 'puiw_printinventory_return_html_minfied', true, $template, $opt, $order ); -
apply_filters( 'puiw_printinvoice_address_template', array( "[first_name]", "[last_name]", "[company]", "[country]", "[province]", "[city]", "[address1]", "[address2]", "[po_box]", "[email]", "[phone]", "[uin]" ), $opts, $order ); -
apply_filters( 'puiw_printinvoice_address_template_replace', array( $opts["customer_fname"], $opts["customer_lname"], $opts["customer_company"], !empty($get_base_countries[$opts["customer_country"]]) ? $get_base_countries[$opts["customer_country"]] : $opts["customer_country"], !empty($get_base_states[$opts["customer_state"]]) ? $get_base_states[$opts["customer_state"]] : $opts["customer_state"], $opts["customer_city"], $opts["customer_address_1"], $opts[... ); -
do_action( 'puiw_printinvoice_after_create_html', $opt, $opts, $order ); -
do_action( 'puiw_printinvoice_after_return_html', $opt, $opts, $order ); -
do_action( 'puiw_printinvoice_before_create_html', $opt, $opts, $order ); -
do_action( 'puiw_printinvoice_before_return_html', $opt, $opts, $order ); -
apply_filters( 'puiw_printinvoice_calculate_invoice_total_weight', $this->fn->get_format_weight($total_weight), $total_weight, $product_weight, $quantity, $product, $item, $order ); -
apply_filters( 'puiw_printinvoice_check_user_has_access', false, $type, $order ); -
apply_filters( 'puiw_printinvoice_create_html_item_row_metas', $optm, $item_id, $item, $product_id, $order ); -
apply_filters( 'puiw_printinvoice_create_html_lineitem_tax_formatted', $tax_formatted, $order, $item ); -
apply_filters( 'puiw_printinvoice_create_html_total_weight', $this->fn->get_format_weight(floatval($product_weight * $quantity)), floatval($product_weight * $quantity), $product_weight, $quantity, $item_id, $item, $product_id, $order ); -
apply_filters( 'puiw_printinvoice_get_order_final_prices', $tr, $order ); -
apply_filters( 'puiw_printinvoice_get_order_final_prices_pdf', $tr, $order ); -
apply_filters( 'puiw_printinvoice_getcustomer_address_1', ($use_billing == "billing") ? $order->get_billing_address_1() : $order->get_shipping_address_1(), $opts, $order, $use_billing ); -
apply_filters( 'puiw_printinvoice_getcustomer_address_2', ($use_billing == "billing") ? $order->get_billing_address_2() : $order->get_shipping_address_2(), $opts, $order, $use_billing ); -
apply_filters( 'puiw_printinvoice_getcustomer_city', ($use_billing == "billing") ? ($order->get_billing_city() ? $order->get_billing_city() : "") : ($order->get_shipping_city() ? $order->get_shipping_city() : ""), $opts, $order, $use_billing ); -
apply_filters( 'puiw_printinvoice_getcustomer_company', ($use_billing == "billing") ? $order->get_billing_company() : $order->get_shipping_company(), $opts, $order, $use_billing ); -
apply_filters( 'puiw_printinvoice_getcustomer_country', ($use_billing == "billing") ? ($order->get_billing_country() ? $order->get_billing_country() : "") : ($order->get_shipping_country() ? $order->get_shipping_country() : ""), $opts, $order, $use_billing ); -
apply_filters( 'puiw_printinvoice_getcustomer_email', $order->get_billing_email(), $opts, $order ); -
apply_filters( 'puiw_printinvoice_getcustomer_firstname', ($use_billing == "billing") ? $order->get_billing_first_name() : $order->get_shipping_first_name(), $opts, $order, $use_billing ); -
apply_filters( 'puiw_printinvoice_getcustomer_fullname', ($use_billing == "billing") ? "{$order->get_billing_first_name()} {$order->get_billing_last_name()}" : "{$order->get_shipping_first_name()} {$order->get_shipping_last_name()}", $opts, $order, $use_billing ); -
apply_filters( 'puiw_printinvoice_getcustomer_lastname', ($use_billing == "billing") ? $order->get_billing_last_name() : $order->get_shipping_last_name(), $opts, $order, $use_billing ); -
apply_filters( 'puiw_printinvoice_getcustomer_phone', $order->get_billing_phone(), $opts, $order ); -
apply_filters( 'puiw_printinvoice_getcustomer_postcode', ($use_billing == "billing") ? $order->get_billing_postcode() : $order->get_shipping_postcode(), $opts, $order, $use_billing ); -
apply_filters( 'puiw_printinvoice_getcustomer_state', ($use_billing == "billing") ? ($order->get_billing_state() ? $order->get_billing_state() : "") : ($order->get_shipping_state() ? $order->get_shipping_state() : ""), $opts, $order, $use_billing ); -
apply_filters( 'puiw_printinvoice_getcustomer_uin', $order->get_meta('puiw_billing_uin', true), $opts, $order ); -
apply_filters( 'puiw_printinvoice_getinvoice_id', $opts["invoice_prefix"] . ($opts["invoice_start"] + $order->get_id()) . $opts["invoice_suffix"], $opts, $order ); -
apply_filters( 'puiw_printinvoice_getinvoice_id_en', $opts["invoice_prefix"] . ($opts["invoice_start"] + $order->get_id()) . $opts["invoice_suffix"], $opts, $order ); -
apply_filters( 'puiw_printinvoice_getinvoice_id_raw', $order->get_id(), $opts, $order ); -
apply_filters( 'puiw_printinvoice_getinvoice_payment_method', $order->get_payment_method_title(), $opts, $order ); -
apply_filters( 'puiw_printinvoice_getinvoice_qrdata', add_query_arg("invoice", $order->get_id(), home_url()), $opts, $order ); -
apply_filters( 'puiw_printinvoice_getinvoice_title', sprintf($this->fn->get_invoice_title(__("Invoice %s", "pepro-ultimate-invoice")), $opts["invoice_id"]), $opts, $order ); -
apply_filters( 'puiw_printinvoice_getinvoicecustomer_signature', $order->get_meta('_shipping_puiw_customer_signature', true), $opts, $order ); -
puiw_printinvoice_HTML_body
filterapply_filters( 'puiw_printinvoice_HTML_body', $body_content, $order_id ); -
apply_filters( 'puiw_printinvoice_HTML_extrahead', $extrainvoiceheaddata, $order_id ); -
puiw_printinvoice_HTML_style
filterapply_filters( 'puiw_printinvoice_HTML_style', $main_css_style, $main_css_style_inline, $order_id ); -
puiw_printinvoice_HTML_title
filterapply_filters( 'puiw_printinvoice_HTML_title', $invoicehtmltitle, $order_id ); -
apply_filters( 'puiw_printinvoice_order_note_customer', "<strong>" . __("Note provided by Customer", "pepro-ultimate-invoice") . "</strong><br><div>" . $this->fn->get_order_note($order, "a") . "</div>", $this->fn->get_order_note($order, "a"), $order, $opt ); -
apply_filters( 'puiw_printinvoice_order_note_shopmngr', "<strong>" . __("Note provided by Shop manager", "pepro-ultimate-invoice") . "</strong><br><div>" . $this->fn->get_order_note($order, "b") . "</div>", $this->fn->get_order_note($order, "b"), $order, $opt ); -
apply_filters( 'puiw_printinvoice_preserve_english_numbers', array( "invoice_id_en", "invoice_track_id_en", "invoice_products_list", "customer_postcode", "customer_address", "invoice_final_price", "store_postcode", "customer_postcode_barcode", "store_postcode_barcode", "invoice_id_nm", "product_description_colspan", "product_nettotal_colspan", "invoice_final_prices_pre_colspan", "invoice_final_prices_colspan", "invoice_final_row_colspan", "invoice_final_... ); -
apply_filters( 'puiw_printinvoice_preserve_html_tags', array( "invoice_final_prices", "invoice_final_prices_pdf", "invoice_products_list", "invoice_qrcode_pdf", "invoice_qrcode_img", "original_price", "invoices_footer", "base_price", "customer_address", "invoice_notes", "invoice_note_customer", "invoice_note_shopmngr", "invoice_notes_slip", "invoice_note_customer_slip", "invoice_note_shopmngr_slip", "order_total", "custom_css_style", "custom_pdf_cs... ); -
apply_filters( 'puiw_printinvoice_return_html', $template, $opt, $opts, $order ); -
apply_filters( 'puiw_printinvoice_return_html_minfied', true, $template, $opt, $order ); -
do_action( 'puiw_printslips_after_create_html', $opt, $opts, $order ); -
do_action( 'puiw_printslips_after_return_html', $opt, $opts, $order ); -
do_action( 'puiw_printslips_before_create_html', $opt, $opts, $order ); -
do_action( 'puiw_printslips_before_return_html', $opt, $opts, $order ); -
apply_filters( 'puiw_printslips_calculate_invoice_total_weight', $this->fn->get_format_weight($total_weight), $total_weight, $product_weight, $quantity, $product, $item, $order ); -
apply_filters( 'puiw_printslips_create_html_item_row_metas', $optm, $item_id, $item, $product_id, $order ); -
apply_filters( 'puiw_printslips_create_html_options', $opts, $order ); -
apply_filters( "puiw_printslips_create_html_options_{$key}_value", $value, $key, $order ); -
apply_filters( 'puiw_printslips_create_html_total_weight', $this->fn->get_format_weight(floatval($product_weight * $quantity)), floatval($product_weight * $quantity), $product_weight, $quantity, $item_id, $item, $product_id, $order ); -
puiw_printslips_HTML_body
filterapply_filters( 'puiw_printslips_HTML_body', $body_content ); -
apply_filters( 'puiw_printslips_HTML_extrahead', $extrainvoiceheaddata ); -
puiw_printslips_HTML_style
filterapply_filters( 'puiw_printslips_HTML_style', $main_css_style ); -
puiw_printslips_HTML_title
filterapply_filters( 'puiw_printslips_HTML_title', $invoicehtmltitle ); -
puiw_printslips_return_html
filterapply_filters( 'puiw_printslips_return_html', $template, $opt, $opts, $order ); -
apply_filters( 'puiw_printslips_return_html_minfied', true, $template, $opt, $order ); -
puiw_receipt_credit
filterapply_filters( 'puiw_receipt_credit', "<p style='text-align:center; font-size: 0.8rem;font-family: Arial;'><bdi dir='ltr'>PeproDev Ultimate Invoice v{$this->version} (www.peprodev.com)<br><small>Generated at {$date_time}</small></bdi></p>", $order, $date_time ); -
apply_filters( 'puiw_return_pdf_total_prices_as_single_price', false, $order ); -
apply_filters( 'puiw_section_allsettings_html', str_replace("<span class=\"puiw-ov-count\"></span>", sprintf('<span class="puiw-ov-count" data-total="%1$d">%2$s</span>', $total, esc_html(number_format_i18n($total))), $html) ); -
puiw_section_changelog_html
filterapply_filters( 'puiw_section_changelog_html', $html_output ); -
puiw_section_color_html
filterapply_filters( 'puiw_section_color_html', $html_output ); -
puiw_section_dashboard_html
filterapply_filters( 'puiw_section_dashboard_html', $html_output ); -
puiw_section_debug_html
filterapply_filters( 'puiw_section_debug_html', $html_output ); -
puiw_section_devdocs_html
filterapply_filters( 'puiw_section_devdocs_html', $html_output ); -
apply_filters( 'puiw_section_migrate_backup_html', $html_output ); -
puiw_section_pro_html
filterapply_filters( 'puiw_section_pro_html', $html_output ); -
puiw_section_templates_html
filterapply_filters( 'puiw_section_templates_html', $html_output ); -
apply_filters( 'puiw_section_translations_html', $html_output ); -
puiw_setting_section_default
filterapply_filters( 'puiw_setting_section_default', array( 'puiw_default_title' => array( 'name' => _x("Store Details in Invoices", "wc-setting", "pepro-ultimate-invoice"), 'type' => 'title', 'id' => 'puiw_default_title' ), 'puiw_store_name' => array( 'name' => _x("Store Name", "wc-setting", "pepro-ultimate-invoice"), 'placeholder' => sprintf(__("Enter %s here", "pepro-ultimate-invoice"), _x("Store Name", "wc-setting", "pepro-ultimate-invoice"))... ); -
puiw_settings_field_sections
filterapply_filters( 'puiw_settings_field_sections', array( "general", "items", "pdf", "theme", "report", "email", "barcode", "privacy", "integ", "extras", "misc", ) ); -
puiw_settings_panel_{$slug}
actiondo_action( "puiw_settings_panel_{$slug}", $this ); -
puiw_settings_panels
filterapply_filters( 'puiw_settings_panels', $sections ); -
puiw_settings_section_groups
filterapply_filters( 'puiw_settings_section_groups', array( "overview" => array( "label" => _x("Overview", "wc-setting", "pepro-ultimate-invoice"), "sections" => array("dashboard", "allsettings"), ), "invoice" => array( "label" => _x("Invoice", "wc-setting", "pepro-ultimate-invoice"), "sections" => array("general", "items", "theme", "color", "templates", "pdf", "barcode"), ), "workflow" => array( "label" => _x("Workflow", "wc-setting", "pepro-ult... ); -
puiw_settings_section_icons
filterapply_filters( 'puiw_settings_section_icons', $icons ); -
puiw_settings_snapshots_keep
filterapply_filters( 'puiw_settings_snapshots_keep', self::KEEP ); -
do_action( "puiw_setup_after_step_{$step}" ); -
do_action( "puiw_setup_before_step_{$step}" ); -
puiw_setup_step_saved
actiondo_action( 'puiw_setup_step_saved', $step, $form ); -
puiw_setup_steps
filterapply_filters( 'puiw_setup_steps', array( "welcome" => array( "title" => _x("Welcome", "setup", "pepro-ultimate-invoice"), "icon" => "hand-waving", "fields" => array(), ), "store" => array( "title" => _x("Your store", "setup", "pepro-ultimate-invoice"), "icon" => "storefront", "intro" => _x("What the top of every invoice says about you.", "setup", "pepro-ultimate-invoice"), "fields" => array("puiw_store_name", "puiw_store_logo",... ); -
puiw_show_shipped_date
filterapply_filters( 'puiw_show_shipped_date', $puiw_show_shipped_date, $default ); -
puiw_show_shipping_serial
filterapply_filters( 'puiw_show_shipping_serial', $puiw_show_shipping_serial, $default ); -
puiw_source_repository
filterapply_filters( 'puiw_source_repository', "https://github.com/peprodev/ultimate-invoice/blob/v" . $PeproUltimateInvoice->version ); -
apply_filters( 'puiw_template_part_candidates', $candidates, $dir, $file ); -
puiw_template_part_markup
filterapply_filters( 'puiw_template_part_markup', $markup, $file, $dir ); -
puiw_template_part_names
filterapply_filters( 'puiw_template_part_names', $names, $file, $dir ); -
apply_filters( 'puiw_theme_editable_extensions', array("html", "css", "cfg") ); -
puiw_translations_before
actiondo_action( 'puiw_translations_before', $this ); -
puiw_upgrade_value_maps
filterapply_filters( 'puiw_upgrade_value_maps', array( "puiw_show_qr_code_id" => array("yes" => "both"), "puiw_force_persian_numbers" => array("yes" => "farsi"), "puiw_show_order_note" => array("yes" => "note_provided_by_both", "no" => "hide_note_from_invoice"), "puiw_show_shipping_address" => array("yes" => "billing", "no" => "billing"), ) ); -
apply_filters( 'puiw_valid_order_statuses_customer_auto_email', (array) $valid_order_status ); -
apply_filters( 'puiw_valid_order_statuses_shopmngr_auto_email', (array) $valid_order_status ); -
do_action( 'woocommerce_after_order_itemmeta', $item_id, $item, $product ); -
do_action( 'woocommerce_before_order_itemmeta', $item_id, $item, $product ); -
apply_filters( "woocommerce_get_settings_{$this->id}", $section_data, $current_section );
Generated from PeproDev Ultimate Invoice's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: