Skip to content

Filter Hooks

Amirhossein Hosseinpour edited this page Aug 30, 2024 · 4 revisions

Warning

The content in this documentation, including hook names and usage examples, was generated using AI assistance. While we strive for accuracy, there is a possibility that some information may not be entirely correct. We strongly recommend that developers double-check the hook names and implementation details directly from the source code of the PeproDev Ultimate Invoice plugin.

Tip

How to Verify Hook Names and Details

  1. Clone the Repository:

    • Use git clone https://github.com/peprodev/ultimate-invoice.git to clone the repository to your local environment.
  2. Search for Hooks in the Source Code:

    • Open the repository in your preferred code editor (e.g., VSCode, Sublime Text).
    • Use the search feature (Ctrl + Shift + F in VSCode) and search for do_action to find action hooks or apply_filters to find filter hooks.
    • Review the function and its arguments to ensure correctness.
  3. Make Necessary Adjustments:

    • If you find any discrepancies, feel free to update your implementation accordingly.

If you encounter any issues or have questions, please open an issue on the repository.

Table of Contents

General
Product Related
Invoice Related
Order Related
User Related

General

peprodevups_alert_after_active

View source

/**
 * Example usage of the `peprodevups_alert_after_active` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L198 View source
 */
function puiw_peprodevups_alert_after_active($message) {
    // Custom code to modify the behavior of peprodevups alert after active.
    return $message;
}
add_filter('peprodevups_alert_after_active', 'puiw_peprodevups_alert_after_active', 10, 1);

puiw_debug_enabled

View source

/**
 * Example usage of the `puiw_debug_enabled` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-setting.php#L53 View source
 */
function puiw_puiw_debug_enabled($debug_true) {
    // Custom code to modify the behavior of puiw debug enabled.
    return $debug_true;
}
add_filter('puiw_debug_enabled', 'puiw_puiw_debug_enabled', 10, 1);

puiw_get_default_mail_pdf_temp_path

View source

/**
 * Example usage of the `puiw_get_default_mail_pdf_temp_path` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1205 View source
 */
function puiw_puiw_get_default_mail_pdf_temp_path($namedir) {
    // Custom code to modify the behavior of puiw get default mail pdf temp path.
    return $namedir;
}
add_filter('puiw_get_default_mail_pdf_temp_path', 'puiw_puiw_get_default_mail_pdf_temp_path', 10, 1);

puiw_parse_pdf_template

View source

/**
 * Example usage of the `puiw_parse_pdf_template` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L2161 View source
 */
function puiw_puiw_parse_pdf_template($styleExifDAta, $contents) {
    // Custom code to modify the behavior of puiw parse pdf template.
    return $styleExifDAta;
}
add_filter('puiw_parse_pdf_template', 'puiw_puiw_parse_pdf_template', 10, 2);

puiw_get_templates_list

View source

/**
 * Example usage of the `puiw_get_templates_list` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L980 View source
 */
function puiw_puiw_get_templates_list($styleFiles) {
    // Custom code to modify the behavior of puiw get templates list.
    return $styleFiles;
}
add_filter('puiw_get_templates_list', 'puiw_puiw_get_templates_list', 10, 1);

puiw_load_themes_simple_path

View source

/**
 * Example usage of the `puiw_load_themes_simple_path` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L985 View source
 */
function puiw_puiw_load_themes_simple_path($dir_name, $style) {
    // Custom code to modify the behavior of puiw load themes simple path.
    return $dir_name;
}
add_filter('puiw_load_themes_simple_path', 'puiw_puiw_load_themes_simple_path', 10, 2);

puiw_load_themes_simple_title

View source

/**
 * Example usage of the `puiw_load_themes_simple_title` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L986 View source
 */
function puiw_puiw_load_themes_simple_title($template, $style_name, $style_designer, $styleExifDAta) {
    // Custom code to modify the behavior of puiw load themes simple title.
    return $template;
}
add_filter('puiw_load_themes_simple_title', 'puiw_puiw_load_themes_simple_title', 10, 4);

puiw_load_themes_advanced_info

View source

/**
 * Example usage of the `puiw_load_themes_advanced_info` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L998 View source
 */
function puiw_puiw_load_themes_advanced_info($tempaltesInfoTemp) {
    // Custom code to modify the behavior of puiw load themes advanced info.
    return $tempaltesInfoTemp;
}
add_filter('puiw_load_themes_advanced_info', 'puiw_puiw_load_themes_advanced_info', 10, 1);

puiw_load_themes_return_advanced

View source

/**
 * Example usage of the `puiw_load_themes_return_advanced` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L1001 View source
 */
function puiw_puiw_load_themes_return_advanced($tempaltesInfo) {
    // Custom code to modify the behavior of puiw load themes return advanced.
    return $tempaltesInfo;
}
add_filter('puiw_load_themes_return_advanced', 'puiw_puiw_load_themes_return_advanced', 10, 1);

puiw_load_themes_return_simple

View source

/**
 * Example usage of the `puiw_load_themes_return_simple` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L1003 View source
 */
function puiw_puiw_load_themes_return_simple($tempaltes) {
    // Custom code to modify the behavior of puiw load themes return simple.
    return $tempaltes;
}
add_filter('puiw_load_themes_return_simple', 'puiw_puiw_load_themes_return_simple', 10, 1);

puiw_get_format_weight

View source

/**
 * Example usage of the `puiw_get_format_weight` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L39 View source
 */
function puiw_puiw_get_format_weight($formatted_weight, $weight) {
    // Custom code to modify the behavior of puiw get format weight.
    return $formatted_weight;
}
add_filter('puiw_get_format_weight', 'puiw_puiw_get_format_weight', 10, 2);

puiw_get_date

View source

/**
 * Example usage of the `puiw_get_date` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L81 View source
 */
function puiw_puiw_get_date($converted_date, $date_str, $timestamp, $date_format, $default_format, $force_format) {
    // Custom code to modify the behavior of puiw get date.
    return $converted_date;
}
add_filter('puiw_get_date', 'puiw_puiw_get_date', 10, 6);

puiw_get_store_name

View source

/**
 * Example usage of the `puiw_get_store_name` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L135 View source
 */
function puiw_puiw_get_store_name($store_name) {
    // Custom code to modify the behavior of puiw get store name.
    return $store_name;
}
add_filter('puiw_get_store_name', 'puiw_puiw_get_store_name', 10, 1);

puiw_get_store_logo

View source

/**
 * Example usage of the `puiw_get_store_logo` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L166 View source
 */
function puiw_puiw_get_store_logo($store_logo, $default) {
    // Custom code to modify the behavior of puiw get store logo.
    return $store_logo;
}
add_filter('puiw_get_store_logo', 'puiw_puiw_get_store_logo', 10, 2);

puiw_get_store_website

View source

/**
 * Example usage of the `puiw_get_store_website` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L183 View source
 */
function puiw_puiw_get_store_website($store_website, $default) {
    // Custom code to modify the behavior of puiw get store website.
    return $store_website;
}
add_filter('puiw_get_store_website', 'puiw_puiw_get_store_website', 10, 2);

puiw_get_email_subject

View source

/**
 * Example usage of the `puiw_get_email_subject` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L198 View source
 */
function puiw_puiw_get_email_subject($invoice_title) {
    // Custom code to modify the behavior of puiw get email subject.
    return $invoice_title;
}
add_filter('puiw_get_email_subject', 'puiw_puiw_get_email_subject', 10, 1);

puiw_get_email_from_name

View source

/**
 * Example usage of the `puiw_get_email_from_name` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L215 View source
 */
function puiw_puiw_get_email_from_name($email_from_name, $default) {
    // Custom code to modify the behavior of puiw get email from name.
    return $email_from_name;
}
add_filter('puiw_get_email_from_name', 'puiw_puiw_get_email_from_name', 10, 2);

puiw_get_email_from_address

View source

/**
 * Example usage of the `puiw_get_email_from_address` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L232 View source
 */
function puiw_puiw_get_email_from_address($email_from_address, $default) {
    // Custom code to modify the behavior of puiw get email from address.
    return $email_from_address;
}
add_filter('puiw_get_email_from_address', 'puiw_puiw_get_email_from_address', 10, 2);

puiw_get_store_email

View source

/**
 * Example usage of the `puiw_get_store_email` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L249 View source
 */
function puiw_puiw_get_store_email($store_email, $default) {
    // Custom code to modify the behavior of puiw get store email.
    return $store_email;
}
add_filter('puiw_get_store_email', 'puiw_puiw_get_store_email', 10, 2);

puiw_get_store_phone

View source

/**
 * Example usage of the `puiw_get_store_phone` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L265 View source
 */
function puiw_puiw_get_store_phone($store_phone, $default) {
    // Custom code to modify the behavior of puiw get store phone.
    return $store_phone;
}
add_filter('puiw_get_store_phone', 'puiw_puiw_get_store_phone', 10, 2);

puiw_get_store_national_id

View source

/**
 * Example usage of the `puiw_get_store_national_id` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L281 View source
 */
function puiw_puiw_get_store_national_id($store_national_id, $default) {
    // Custom code to modify the behavior of puiw get store national id.
    return $store_national_id;
}
add_filter('puiw_get_store_national_id', 'puiw_puiw_get_store_national_id', 10, 2);

puiw_get_store_registration_number

View source

/**
 * Example usage of the `puiw_get_store_registration_number` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L297 View source
 */
function puiw_puiw_get_store_registration_number($store_registration_number, $default) {
    // Custom code to modify the behavior of puiw get store registration number.
    return $store_registration_number;
}
add_filter('puiw_get_store_registration_number', 'puiw_puiw_get_store_registration_number', 10, 2);

puiw_get_store_economical_number

View source

/**
 * Example usage of the `puiw_get_store_economical_number` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L313 View source
 */
function puiw_puiw_get_store_economical_number($store_economical_number, $default) {
    // Custom code to modify the behavior of puiw get store economical number.
    return $store_economical_number;
}
add_filter('puiw_get_store_economical_number', 'puiw_puiw_get_store_economical_number', 10, 2);

puiw_get_show_store_national_id

View source

/**
 * Example usage of the `puiw_get_show_store_national_id` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L329 View source
 */
function puiw_puiw_get_show_store_national_id($show_store_national_id, $default) {
    // Custom code to modify the behavior of puiw get show store national id.
    return $show_store_national_id;
}
add_filter('puiw_get_show_store_national_id', 'puiw_puiw_get_show_store_national_id', 10, 2);

puiw_get_show_store_registration_number

View source

/**
 * Example usage of the `puiw_get_show_store_registration_number` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L345 View source
 */
function puiw_puiw_get_show_store_registration_number($show_store_registration_number, $default) {
    // Custom code to modify the behavior of puiw get show store registration number.
    return $show_store_registration_number;
}
add_filter('puiw_get_show_store_registration_number', 'puiw_puiw_get_show_store_registration_number', 10, 2);

puiw_get_show_store_economical_number

View source

/**
 * Example usage of the `puiw_get_show_store_economical_number` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L361 View source
 */
function puiw_puiw_get_show_store_economical_number($show_store_economical_number, $default) {
    // Custom code to modify the behavior of puiw get show store economical number.
    return $show_store_economical_number;
}
add_filter('puiw_get_show_store_economical_number', 'puiw_puiw_get_show_store_economical_number', 10, 2);

puiw_get_force_persian_numbers

View source

/**
 * Example usage of the `puiw_get_force_persian_numbers` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L377 View source
 */
function puiw_puiw_get_force_persian_numbers($force_persian_numbers, $default) {
    // Custom code to modify the behavior of puiw get force persian numbers.
    return $force_persian_numbers;
}
add_filter('puiw_get_force_persian_numbers', 'puiw_puiw_get_force_persian_numbers', 10, 2);

puiw_get_store_address

View source

/**
 * Example usage of the `puiw_get_store_address` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L394 View source
 */
function puiw_puiw_get_store_address($store_address, $default) {
    // Custom code to modify the behavior of puiw get store address.
    return $store_address;
}
add_filter('puiw_get_store_address', 'puiw_puiw_get_store_address', 10, 2);

puiw_get_wc_store_address

View source

/**
 * Example usage of the `puiw_get_wc_store_address` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L427 View source
 */
function puiw_puiw_get_wc_store_address($return) {
    // Custom code to modify the behavior of puiw get wc store address.
    return $return;
}
add_filter('puiw_get_wc_store_address', 'puiw_puiw_get_wc_store_address', 10, 1);

puiw_get_store_postcode

View source

/**
 * Example usage of the `puiw_get_store_postcode` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L443 View source
 */
function puiw_puiw_get_store_postcode($store_p_o_box, $default) {
    // Custom code to modify the behavior of puiw get store postcode.
    return $store_p_o_box;
}
add_filter('puiw_get_store_postcode', 'puiw_puiw_get_store_postcode', 10, 2);

puiw_get_postal_stickey_label_for_store

View source

/**
 * Example usage of the `puiw_get_postal_stickey_label_for_store` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L619 View source
 */
function puiw_puiw_get_postal_stickey_label_for_store($postal_stickey_label_for_store, $default) {
    // Custom code to modify the behavior of puiw get postal stickey label for store.
    return $postal_stickey_label_for_store;
}
add_filter('puiw_get_postal_stickey_label_for_store', 'puiw_puiw_get_postal_stickey_label_for_store', 10, 2);

puiw_get_postal_stickey_label_for_customer

View source

/**
 * Example usage of the `puiw_get_postal_stickey_label_for_customer` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L635 View source
 */
function puiw_puiw_get_postal_stickey_label_for_customer($postal_stickey_label_for_customer, $default) {
    // Custom code to modify the behavior of puiw get postal stickey label for customer.
    return $postal_stickey_label_for_customer;
}
add_filter('puiw_get_postal_stickey_label_for_customer', 'puiw_puiw_get_postal_stickey_label_for_customer', 10, 2);

puiw_get_show_qr_code_id

View source

/**
 * Example usage of the `puiw_get_show_qr_code_id` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L651 View source
 */
function puiw_puiw_get_show_qr_code_id($show_qr_code_id, $default) {
    // Custom code to modify the behavior of puiw get show qr code id.
    return $show_qr_code_id;
}
add_filter('puiw_get_show_qr_code_id', 'puiw_puiw_get_show_qr_code_id', 10, 2);

puiw_get_postal_qr_code_label_for_store

View source

/**
 * Example usage of the `puiw_get_postal_qr_code_label_for_store` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L667 View source
 */
function puiw_puiw_get_postal_qr_code_label_for_store($postal_qr_code_label_for_store, $default) {
    // Custom code to modify the behavior of puiw get postal qr code label for store.
    return $postal_qr_code_label_for_store;
}
add_filter('puiw_get_postal_qr_code_label_for_store', 'puiw_puiw_get_postal_qr_code_label_for_store', 10, 2);

puiw_get_postal_qr_code_label_for_customer

View source

/**
 * Example usage of the `puiw_get_postal_qr_code_label_for_customer` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L683 View source
 */
function puiw_puiw_get_postal_qr_code_label_for_customer($postal_qr_code_label_for_customer, $default) {
    // Custom code to modify the behavior of puiw get postal qr code label for customer.
    return $postal_qr_code_label_for_customer;
}
add_filter('puiw_get_postal_qr_code_label_for_customer', 'puiw_puiw_get_postal_qr_code_label_for_customer', 10, 2);

puiw_get_date_shamsi

View source

/**
 * Example usage of the `puiw_get_date_shamsi` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L699 View source
 */
function puiw_puiw_get_date_shamsi($date_shamsi, $default) {
    // Custom code to modify the behavior of puiw get date shamsi.
    return $date_shamsi;
}
add_filter('puiw_get_date_shamsi', 'puiw_puiw_get_date_shamsi', 10, 2);

puiw_show_shipped_date

View source

/**
 * Example usage of the `puiw_show_shipped_date` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L715 View source
 */
function puiw_puiw_show_shipped_date($puiw_show_shipped_date, $default) {
    // Custom code to modify the behavior of puiw show shipped date.
    return $puiw_show_shipped_date;
}
add_filter('puiw_show_shipped_date', 'puiw_puiw_show_shipped_date', 10, 2);

puiw_show_shipping_serial

View source

/**
 * Example usage of the `puiw_show_shipping_serial` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L731 View source
 */
function puiw_puiw_show_shipping_serial($puiw_show_shipping_serial, $default) {
    // Custom code to modify the behavior of puiw show shipping serial.
    return $puiw_show_shipping_serial;
}
add_filter('puiw_show_shipping_serial', 'puiw_puiw_show_shipping_serial', 10, 2);

puiw_get_disable_wc_dashboard

View source

/**
 * Example usage of the `puiw_get_disable_wc_dashboard` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L747 View source
 */
function puiw_puiw_get_disable_wc_dashboard($disable_wc_dashboard, $default) {
    // Custom code to modify the behavior of puiw get disable wc dashboard.
    return $disable_wc_dashboard;
}
add_filter('puiw_get_disable_wc_dashboard', 'puiw_puiw_get_disable_wc_dashboard', 10, 2);

puiw_get_allow_quick_shop

View source

/**
 * Example usage of the `puiw_get_allow_quick_shop` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L779 View source
 */
function puiw_puiw_get_allow_quick_shop($allow_preorder_invoice, $default) {
    // Custom code to modify the behavior of puiw get allow quick shop.
    return $allow_preorder_invoice;
}
add_filter('puiw_get_allow_quick_shop', 'puiw_puiw_get_allow_quick_shop', 10, 2);

puiw_get_allow_pdf_customer

View source

/**
 * Example usage of the `puiw_get_allow_pdf_customer` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L811 View source
 */
function puiw_puiw_get_allow_pdf_customer($allow_pdf_customer, $default) {
    // Custom code to modify the behavior of puiw get allow pdf customer.
    return $allow_pdf_customer;
}
add_filter('puiw_get_allow_pdf_customer', 'puiw_puiw_get_allow_pdf_customer', 10, 2);

puiw_get_allow_pdf_guest

View source

/**
 * Example usage of the `puiw_get_allow_pdf_guest` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L827 View source
 */
function puiw_puiw_get_allow_pdf_guest($allow_pdf_customer, $default) {
    // Custom code to modify the behavior of puiw get allow pdf guest.
    return $allow_pdf_customer;
}
add_filter('puiw_get_allow_pdf_guest', 'puiw_puiw_get_allow_pdf_guest', 10, 2);

puiw_get_pdf_size

View source

/**
 * Example usage of the `puiw_get_pdf_size` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L843 View source
 */
function puiw_puiw_get_pdf_size($pdf_size, $default) {
    // Custom code to modify the behavior of puiw get pdf size.
    return $pdf_size;
}
add_filter('puiw_get_pdf_size', 'puiw_puiw_get_pdf_size', 10, 2);

puiw_get_pdf_orientation

View source

/**
 * Example usage of the `puiw_get_pdf_orientation` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L859 View source
 */
function puiw_puiw_get_pdf_orientation($pdf_orientation, $default) {
    // Custom code to modify the behavior of puiw get pdf orientation.
    return $pdf_orientation;
}
add_filter('puiw_get_pdf_orientation', 'puiw_puiw_get_pdf_orientation', 10, 2);

puiw_get_custom_css_style

View source

/**
 * Example usage of the `puiw_get_custom_css_style` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L891 View source
 */
function puiw_puiw_get_custom_css_style($custom_css_style, $default) {
    // Custom code to modify the behavior of puiw get custom css style.
    return $custom_css_style;
}
add_filter('puiw_get_custom_css_style', 'puiw_puiw_get_custom_css_style', 10, 2);

puiw_get_pdf_css_style

View source

/**
 * Example usage of the `puiw_get_pdf_css_style` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L907 View source
 */
function puiw_puiw_get_pdf_css_style($custom_css_style, $default) {
    // Custom code to modify the behavior of puiw get pdf css style.
    return $custom_css_style;
}
add_filter('puiw_get_pdf_css_style', 'puiw_puiw_get_pdf_css_style', 10, 2);

puiw_get_inventory_css_style

View source

/**
 * Example usage of the `puiw_get_inventory_css_style` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L955 View source
 */
function puiw_puiw_get_inventory_css_style($inventory_css_style, $default) {
    // Custom code to modify the behavior of puiw get inventory css style.
    return $inventory_css_style;
}
add_filter('puiw_get_inventory_css_style', 'puiw_puiw_get_inventory_css_style', 10, 2);

puiw_get_template

View source

/**
 * Example usage of the `puiw_get_template` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L974 View source
 */
function puiw_puiw_get_template($template, $default) {
    // Custom code to modify the behavior of puiw get template.
    return $template;
}
add_filter('puiw_get_template', 'puiw_puiw_get_template', 10, 2);

puiw_get_theme_color

View source

/**
 * Example usage of the `puiw_get_theme_color` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L990 View source
 */
function puiw_puiw_get_theme_color($theme_color, $default) {
    // Custom code to modify the behavior of puiw get theme color.
    return $theme_color;
}
add_filter('puiw_get_theme_color', 'puiw_puiw_get_theme_color', 10, 2);

puiw_get_theme_color2

View source

/**
 * Example usage of the `puiw_get_theme_color2` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1006 View source
 */
function puiw_puiw_get_theme_color2($theme_color, $default) {
    // Custom code to modify the behavior of puiw get theme color2.
    return $theme_color;
}
add_filter('puiw_get_theme_color2', 'puiw_puiw_get_theme_color2', 10, 2);

puiw_get_theme_color3

View source

/**
 * Example usage of the `puiw_get_theme_color3` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1022 View source
 */
function puiw_puiw_get_theme_color3($theme_color, $default) {
    // Custom code to modify the behavior of puiw get theme color3.
    return $theme_color;
}
add_filter('puiw_get_theme_color3', 'puiw_puiw_get_theme_color3', 10, 2);

puiw_get_font_size

View source

/**
 * Example usage of the `puiw_get_font_size` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1105 View source
 */
function puiw_puiw_get_font_size($font_size, $default) {
    // Custom code to modify the behavior of puiw get font size.
    return $font_size;
}
add_filter('puiw_get_font_size', 'puiw_puiw_get_font_size', 10, 2);

puiw_get_pdf_font

View source

/**
 * Example usage of the `puiw_get_pdf_font` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1137 View source
 */
function puiw_puiw_get_pdf_font($invoice_prefix, $default) {
    // Custom code to modify the behavior of puiw get pdf font.
    return $invoice_prefix;
}
add_filter('puiw_get_pdf_font', 'puiw_puiw_get_pdf_font', 10, 2);

puiw_get_signature

View source

/**
 * Example usage of the `puiw_get_signature` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1185 View source
 */
function puiw_puiw_get_signature($signature, $default) {
    // Custom code to modify the behavior of puiw get signature.
    return $signature;
}
add_filter('puiw_get_signature', 'puiw_puiw_get_signature', 10, 2);

puiw_get_show_signatures

View source

/**
 * Example usage of the `puiw_get_show_signatures` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1201 View source
 */
function puiw_puiw_get_show_signatures($signature, $default) {
    // Custom code to modify the behavior of puiw get show signatures.
    return $signature;
}
add_filter('puiw_get_show_signatures', 'puiw_puiw_get_show_signatures', 10, 2);

puiw_get_watermark

View source

/**
 * Example usage of the `puiw_get_watermark` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1217 View source
 */
function puiw_puiw_get_watermark($watermark, $default) {
    // Custom code to modify the behavior of puiw get watermark.
    return $watermark;
}
add_filter('puiw_get_watermark', 'puiw_puiw_get_watermark', 10, 2);

puiw_get_watermark_opacity

View source

/**
 * Example usage of the `puiw_get_watermark_opacity` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1233 View source
 */
function puiw_puiw_get_watermark_opacity($watermark_opacity, $default) {
    // Custom code to modify the behavior of puiw get watermark opacity.
    return $watermark_opacity;
}
add_filter('puiw_get_watermark_opacity', 'puiw_puiw_get_watermark_opacity', 10, 2);

puiw_get_watermark_blend

View source

/**
 * Example usage of the `puiw_get_watermark_blend` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1249 View source
 */
function puiw_puiw_get_watermark_blend($watermark_blend, $default) {
    // Custom code to modify the behavior of puiw get watermark blend.
    return $watermark_blend;
}
add_filter('puiw_get_watermark_blend', 'puiw_puiw_get_watermark_blend', 10, 2);

puiw_get_shelf_number_id

View source

/**
 * Example usage of the `puiw_get_shelf_number_id` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1281 View source
 */
function puiw_puiw_get_shelf_number_id($shelf_number_id, $default) {
    // Custom code to modify the behavior of puiw get shelf number id.
    return $shelf_number_id;
}
add_filter('puiw_get_shelf_number_id', 'puiw_puiw_get_shelf_number_id', 10, 2);

puiw_get_show_discount_precent

View source

/**
 * Example usage of the `puiw_get_show_discount_precent` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1378 View source
 */
function puiw_puiw_get_show_discount_precent($show_discount_precent, $default) {
    // Custom code to modify the behavior of puiw get show discount precent.
    return $show_discount_precent;
}
add_filter('puiw_get_show_discount_precent', 'puiw_puiw_get_show_discount_precent', 10, 2);

puiw_get_price_inventory_report

View source

/**
 * Example usage of the `puiw_get_price_inventory_report` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1458 View source
 */
function puiw_puiw_get_price_inventory_report($price_inventory_report, $default) {
    // Custom code to modify the behavior of puiw get price inventory report.
    return $price_inventory_report;
}
add_filter('puiw_get_price_inventory_report', 'puiw_puiw_get_price_inventory_report', 10, 2);

puiw_get_show_customer_address

View source

/**
 * Example usage of the `puiw_get_show_customer_address` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1490 View source
 */
function puiw_puiw_get_show_customer_address($show_customer_address, $default) {
    // Custom code to modify the behavior of puiw get show customer address.
    return $show_customer_address;
}
add_filter('puiw_get_show_customer_address', 'puiw_puiw_get_show_customer_address', 10, 2);

puiw_get_show_customer_phone

View source

/**
 * Example usage of the `puiw_get_show_customer_phone` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1506 View source
 */
function puiw_puiw_get_show_customer_phone($show_customer_phone, $default) {
    // Custom code to modify the behavior of puiw get show customer phone.
    return $show_customer_phone;
}
add_filter('puiw_get_show_customer_phone', 'puiw_puiw_get_show_customer_phone', 10, 2);

puiw_get_show_customer_email

View source

/**
 * Example usage of the `puiw_get_show_customer_email` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1522 View source
 */
function puiw_puiw_get_show_customer_email($show_customer_email, $default) {
    // Custom code to modify the behavior of puiw get show customer email.
    return $show_customer_email;
}
add_filter('puiw_get_show_customer_email', 'puiw_puiw_get_show_customer_email', 10, 2);

puiw_get_show_payment_method

View source

/**
 * Example usage of the `puiw_get_show_payment_method` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1554 View source
 */
function puiw_puiw_get_show_payment_method($show_payment_method, $default) {
    // Custom code to modify the behavior of puiw get show payment method.
    return $show_payment_method;
}
add_filter('puiw_get_show_payment_method', 'puiw_puiw_get_show_payment_method', 10, 2);

puiw_get_show_shipping_method

View source

/**
 * Example usage of the `puiw_get_show_shipping_method` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1570 View source
 */
function puiw_puiw_get_show_shipping_method($show_shipping_method, $default) {
    // Custom code to modify the behavior of puiw get show shipping method.
    return $show_shipping_method;
}
add_filter('puiw_get_show_shipping_method', 'puiw_puiw_get_show_shipping_method', 10, 2);

puiw_get_show_shipping_address

View source

/**
 * Example usage of the `puiw_get_show_shipping_address` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1586 View source
 */
function puiw_puiw_get_show_shipping_address($show_shipping_address, $default) {
    // Custom code to modify the behavior of puiw get show shipping address.
    return $show_shipping_address;
}
add_filter('puiw_get_show_shipping_address', 'puiw_puiw_get_show_shipping_address', 10, 2);

puiw_get_address_display_method

View source

/**
 * Example usage of the `puiw_get_address_display_method` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1602 View source
 */
function puiw_puiw_get_address_display_method($address_display_method, $default) {
    // Custom code to modify the behavior of puiw get address display method.
    return $address_display_method;
}
add_filter('puiw_get_address_display_method', 'puiw_puiw_get_address_display_method', 10, 2);

puiw_get_show_transaction_ref_id

View source

/**
 * Example usage of the `puiw_get_show_transaction_ref_id` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1618 View source
 */
function puiw_puiw_get_show_transaction_ref_id($transaction_ref_id, $default) {
    // Custom code to modify the behavior of puiw get show transaction ref id.
    return $transaction_ref_id;
}
add_filter('puiw_get_show_transaction_ref_id', 'puiw_puiw_get_show_transaction_ref_id', 10, 2);

puiw_get_show_paid_date

View source

/**
 * Example usage of the `puiw_get_show_paid_date` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1634 View source
 */
function puiw_puiw_get_show_paid_date($transaction_ref_id, $default) {
    // Custom code to modify the behavior of puiw get show paid date.
    return $transaction_ref_id;
}
add_filter('puiw_get_show_paid_date', 'puiw_puiw_get_show_paid_date', 10, 2);

puiw_get_show_shipping_date

View source

/**
 * Example usage of the `puiw_get_show_shipping_date` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1682 View source
 */
function puiw_puiw_get_show_shipping_date($transaction_ref_id, $default) {
    // Custom code to modify the behavior of puiw get show shipping date.
    return $transaction_ref_id;
}
add_filter('puiw_get_show_shipping_date', 'puiw_puiw_get_show_shipping_date', 10, 2);

puiw_get_show_shipping_ref_id

View source

/**
 * Example usage of the `puiw_get_show_shipping_ref_id` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1827 View source
 */
function puiw_puiw_get_show_shipping_ref_id($show_shipping_ref_id, $default) {
    // Custom code to modify the behavior of puiw get show shipping ref id.
    return $show_shipping_ref_id;
}
add_filter('puiw_get_show_shipping_ref_id', 'puiw_puiw_get_show_shipping_ref_id', 10, 2);

puiw_get_show_price_template

View source

/**
 * Example usage of the `puiw_get_show_price_template` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1843 View source
 */
function puiw_puiw_get_show_price_template($show_price_template, $default) {
    // Custom code to modify the behavior of puiw get show price template.
    return $show_price_template;
}
add_filter('puiw_get_show_price_template', 'puiw_puiw_get_show_price_template', 10, 2);

puiw_get_show_tax_display

View source

/**
 * Example usage of the `puiw_get_show_tax_display` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1859 View source
 */
function puiw_puiw_get_show_tax_display($show_tax_display, $default) {
    // Custom code to modify the behavior of puiw get show tax display.
    return $show_tax_display;
}
add_filter('puiw_get_show_tax_display', 'puiw_puiw_get_show_tax_display', 10, 2);

puiw_get_show_coupons_code_at_totals

View source

/**
 * Example usage of the `puiw_get_show_coupons_code_at_totals` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1875 View source
 */
function puiw_puiw_get_show_coupons_code_at_totals($coupons_code, $default) {
    // Custom code to modify the behavior of puiw get show coupons code at totals.
    return $coupons_code;
}
add_filter('puiw_get_show_coupons_code_at_totals', 'puiw_puiw_get_show_coupons_code_at_totals', 10, 2);

puiw_get_show_coupons_description_at_totals

View source

/**
 * Example usage of the `puiw_get_show_coupons_description_at_totals` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1891 View source
 */
function puiw_puiw_get_show_coupons_description_at_totals($coupons_description, $default) {
    // Custom code to modify the behavior of puiw get show coupons description at totals.
    return $coupons_description;
}
add_filter('puiw_get_show_coupons_description_at_totals', 'puiw_puiw_get_show_coupons_description_at_totals', 10, 2);

puiw_get_show_coupons_discount_at_totals

View source

/**
 * Example usage of the `puiw_get_show_coupons_discount_at_totals` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1907 View source
 */
function puiw_puiw_get_show_coupons_discount_at_totals($coupons_discount, $default) {
    // Custom code to modify the behavior of puiw get show coupons discount at totals.
    return $coupons_discount;
}
add_filter('puiw_get_show_coupons_discount_at_totals', 'puiw_puiw_get_show_coupons_discount_at_totals', 10, 2);

puiw_get_show_coupons_amount_at_totals

View source

/**
 * Example usage of the `puiw_get_show_coupons_amount_at_totals` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1923 View source
 */
function puiw_puiw_get_show_coupons_amount_at_totals($coupons_amount, $default) {
    // Custom code to modify the behavior of puiw get show coupons amount at totals.
    return $coupons_amount;
}
add_filter('puiw_get_show_coupons_amount_at_totals', 'puiw_puiw_get_show_coupons_amount_at_totals', 10, 2);

puiw_get_show_discount_calc

View source

/**
 * Example usage of the `puiw_get_show_discount_calc` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1939 View source
 */
function puiw_puiw_get_show_discount_calc($discount_calc, $default) {
    // Custom code to modify the behavior of puiw get show discount calc.
    return $discount_calc;
}
add_filter('puiw_get_show_discount_calc', 'puiw_puiw_get_show_discount_calc', 10, 2);

puiw_get_show_discount_display

View source

/**
 * Example usage of the `puiw_get_show_discount_display` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1955 View source
 */
function puiw_puiw_get_show_discount_display($discount_display, $default) {
    // Custom code to modify the behavior of puiw get show discount display.
    return $discount_display;
}
add_filter('puiw_get_show_discount_display', 'puiw_puiw_get_show_discount_display', 10, 2);

puiw_get_woosb_show_bundles

View source

/**
 * Example usage of the `puiw_get_woosb_show_bundles` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L2035 View source
 */
function puiw_puiw_get_woosb_show_bundles($show_product_sku2, $default) {
    // Custom code to modify the behavior of puiw get woosb show bundles.
    return $show_product_sku2;
}
add_filter('puiw_get_woosb_show_bundles', 'puiw_puiw_get_woosb_show_bundles', 10, 2);

puiw_get_woosb_show_bundles_subtitle

View source

/**
 * Example usage of the `puiw_get_woosb_show_bundles_subtitle` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L2051 View source
 */
function puiw_puiw_get_woosb_show_bundles_subtitle($show_product_sku2, $default) {
    // Custom code to modify the behavior of puiw get woosb show bundles subtitle.
    return $show_product_sku2;
}
add_filter('puiw_get_woosb_show_bundles_subtitle', 'puiw_puiw_get_woosb_show_bundles_subtitle', 10, 2);

puiw_get_woosb_show_bundled_subtitle

View source

/**
 * Example usage of the `puiw_get_woosb_show_bundled_subtitle` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L2083 View source
 */
function puiw_puiw_get_woosb_show_bundled_subtitle($show_product_sku2, $default) {
    // Custom code to modify the behavior of puiw get woosb show bundled subtitle.
    return $show_product_sku2;
}
add_filter('puiw_get_woosb_show_bundled_subtitle', 'puiw_puiw_get_woosb_show_bundled_subtitle', 10, 2);

puiw_get_woosb_show_bundled_hierarchy

View source

/**
 * Example usage of the `puiw_get_woosb_show_bundled_hierarchy` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L2099 View source
 */
function puiw_puiw_get_woosb_show_bundled_hierarchy($show_product_sku2, $default) {
    // Custom code to modify the behavior of puiw get woosb show bundled hierarchy.
    return $show_product_sku2;
}
add_filter('puiw_get_woosb_show_bundled_hierarchy', 'puiw_puiw_get_woosb_show_bundled_hierarchy', 10, 2);

puiw_get_woosb_bundled_subtitle_prefix

View source

/**
 * Example usage of the `puiw_get_woosb_bundled_subtitle_prefix` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L2115 View source
 */
function puiw_puiw_get_woosb_bundled_subtitle_prefix($show_product_sku2, $default) {
    // Custom code to modify the behavior of puiw get woosb bundled subtitle prefix.
    return $show_product_sku2;
}
add_filter('puiw_get_woosb_bundled_subtitle_prefix', 'puiw_puiw_get_woosb_bundled_subtitle_prefix', 10, 2);

puiw_get_woosb_bundles_subtitle_prefix

View source

/**
 * Example usage of the `puiw_get_woosb_bundles_subtitle_prefix` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L2131 View source
 */
function puiw_puiw_get_woosb_bundles_subtitle_prefix($show_product_sku2, $default) {
    // Custom code to modify the behavior of puiw get woosb bundles subtitle prefix.
    return $show_product_sku2;
}
add_filter('puiw_get_woosb_bundles_subtitle_prefix', 'puiw_puiw_get_woosb_bundles_subtitle_prefix', 10, 2);

puiw_get_items_sorting

View source

/**
 * Example usage of the `puiw_get_items_sorting` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L2147 View source
 */
function puiw_puiw_get_items_sorting($show_product_sku2, $default) {
    // Custom code to modify the behavior of puiw get items sorting.
    return $show_product_sku2;
}
add_filter('puiw_get_items_sorting', 'puiw_puiw_get_items_sorting', 10, 2);

puiw_get_default_dynamic_params

View source

/**
 * Example usage of the `puiw_get_default_dynamic_params` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L294 View source
 */
function puiw_puiw_get_default_dynamic_params($opts, $order) {
    // Custom code to modify the behavior of puiw get default dynamic params.
    return $opts;
}
add_filter('puiw_get_default_dynamic_params', 'puiw_puiw_get_default_dynamic_params', 10, 2);

puiw_get_template_dir_url

View source

/**
 * Example usage of the `puiw_get_template_dir_url` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1671 View source
 */
function puiw_puiw_get_template_dir_url(plugin_dir_url($template), $template, $order) {
    // Custom code to modify the behavior of puiw get template dir url.
    return $plugin_dir_url($template);
}
add_filter('puiw_get_template_dir_url', 'puiw_puiw_get_template_dir_url', 10, 3);

puiw_get_template_dir_path

View source

/**
 * Example usage of the `puiw_get_template_dir_path` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1666 View source
 */
function puiw_puiw_get_template_dir_path($template, $order) {
    // Custom code to modify the behavior of puiw get template dir path.
    return $template;
}
add_filter('puiw_get_template_dir_path', 'puiw_puiw_get_template_dir_path', 10, 2);

puiw_generate_pdf_page_size

View source

/**
 * Example usage of the `puiw_generate_pdf_page_size` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L958 View source
 */
function puiw_puiw_generate_pdf_page_size($get_pdf_size, $order_id, $order, $type="PDF") {
    // Custom code to modify the behavior of puiw generate pdf page size.
    return $get_pdf_size;
}
add_filter('puiw_generate_pdf_page_size', 'puiw_puiw_generate_pdf_page_size', 10, 4);

puiw_generate_pdf_title_of_pdf

View source

/**
 * Example usage of the `puiw_generate_pdf_title_of_pdf` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1171 View source
 */
function puiw_puiw_generate_pdf_title_of_pdf($pdf_title) {
    // Custom code to modify the behavior of puiw generate pdf title of pdf.
    return $pdf_title;
}
add_filter('puiw_generate_pdf_title_of_pdf', 'puiw_puiw_generate_pdf_title_of_pdf', 10, 1);

puiw_generate_pdf_watermark_img

View source

/**
 * Example usage of the `puiw_generate_pdf_watermark_img` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1009 View source
 */
function puiw_puiw_generate_pdf_watermark_img($watermark, $order_id, $order, $type="PDF") {
    // Custom code to modify the behavior of puiw generate pdf watermark img.
    return $watermark;
}
add_filter('puiw_generate_pdf_watermark_img', 'puiw_puiw_generate_pdf_watermark_img', 10, 4);

puiw_generate_pdf_watermark_alpha

View source

/**
 * Example usage of the `puiw_generate_pdf_watermark_alpha` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1010 View source
 */
function puiw_puiw_generate_pdf_watermark_alpha($watermark_opacity, $order_id, $order, $type="PDF") {
    // Custom code to modify the behavior of puiw generate pdf watermark alpha.
    return $watermark_opacity;
}
add_filter('puiw_generate_pdf_watermark_alpha', 'puiw_puiw_generate_pdf_watermark_alpha', 10, 4);

puiw_generate_pdf_watermark_size

View source

/**
 * Example usage of the `puiw_generate_pdf_watermark_size` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1011 View source
 */
function puiw_puiw_generate_pdf_watermark_size($return, $order_id, $order, $type="PDF") {
    // Custom code to modify the behavior of puiw generate pdf watermark size.
    return $return;
}
add_filter('puiw_generate_pdf_watermark_size', 'puiw_puiw_generate_pdf_watermark_size', 10, 4);

puiw_generate_pdf_watermark_position

View source

/**
 * Example usage of the `puiw_generate_pdf_watermark_position` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1012 View source
 */
function puiw_puiw_generate_pdf_watermark_position($return, $order_id, $order, $type="PDF") {
    // Custom code to modify the behavior of puiw generate pdf watermark position.
    return $return;
}
add_filter('puiw_generate_pdf_watermark_position', 'puiw_puiw_generate_pdf_watermark_position', 10, 4);

puiw_generate_pdf_watermark_show

View source

/**
 * Example usage of the `puiw_generate_pdf_watermark_show` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1014 View source
 */
function puiw_puiw_generate_pdf_watermark_show($return, $order_id, $order, $type="PDF") {
    // Custom code to modify the behavior of puiw generate pdf watermark show.
    return $return;
}
add_filter('puiw_generate_pdf_watermark_show', 'puiw_puiw_generate_pdf_watermark_show', 10, 4);

puiw_get_export_pdf_name

View source

/**
 * Example usage of the `puiw_get_export_pdf_name` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1200 View source
 */
function puiw_puiw_get_export_pdf_name($name, $order_id_formatted, $order_id, $datenow) {
    // Custom code to modify the behavior of puiw get export pdf name.
    return $name;
}
add_filter('puiw_get_export_pdf_name', 'puiw_puiw_get_export_pdf_name', 10, 4);

puiw_get_default_mail_pdf_temp_name

View source

/**
 * Example usage of the `puiw_get_default_mail_pdf_temp_name` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1206 View source
 */
function puiw_puiw_get_default_mail_pdf_temp_name($namedotext) {
    // Custom code to modify the behavior of puiw get default mail pdf temp name.
    return $namedotext;
}
add_filter('puiw_get_default_mail_pdf_temp_name', 'puiw_puiw_get_default_mail_pdf_temp_name', 10, 1);

puiw_printslips_create_html_options

View source

/**
 * Example usage of the `puiw_printslips_create_html_options` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1222 View source
 */
function puiw_puiw_printslips_create_html_options($opts, $order) {
    // Custom code to modify the behavior of puiw printslips create html options.
    return $opts;
}
add_filter('puiw_printslips_create_html_options', 'puiw_puiw_printslips_create_html_options', 10, 2);

puiw_printslips_HTML_body

View source

/**
 * Example usage of the `puiw_printslips_HTML_body` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1297 View source
 */
function puiw_puiw_printslips_HTML_body($body_content) {
    // Custom code to modify the behavior of puiw printslips HTML body.
    return $body_content;
}
add_filter('puiw_printslips_HTML_body', 'puiw_puiw_printslips_HTML_body', 10, 1);

puiw_printslips_HTML_extrahead

View source

/**
 * Example usage of the `puiw_printslips_HTML_extrahead` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1298 View source
 */
function puiw_puiw_printslips_HTML_extrahead($extrainvoiceheaddata) {
    // Custom code to modify the behavior of puiw printslips HTML extrahead.
    return $extrainvoiceheaddata;
}
add_filter('puiw_printslips_HTML_extrahead', 'puiw_puiw_printslips_HTML_extrahead', 10, 1);

puiw_printslips_HTML_title

View source

/**
 * Example usage of the `puiw_printslips_HTML_title` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1299 View source
 */
function puiw_puiw_printslips_HTML_title($invoicehtmltitle) {
    // Custom code to modify the behavior of puiw printslips HTML title.
    return $invoicehtmltitle;
}
add_filter('puiw_printslips_HTML_title', 'puiw_puiw_printslips_HTML_title', 10, 1);

puiw_printslips_HTML_style

View source

/**
 * Example usage of the `puiw_printslips_HTML_style` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1300 View source
 */
function puiw_puiw_printslips_HTML_style($main_css_style) {
    // Custom code to modify the behavior of puiw printslips HTML style.
    return $main_css_style;
}
add_filter('puiw_printslips_HTML_style', 'puiw_puiw_printslips_HTML_style', 10, 1);

puiw_printslips_create_html_item_row_metas

View source

/**
 * Example usage of the `puiw_printslips_create_html_item_row_metas` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1382 View source
 */
function puiw_puiw_printslips_create_html_item_row_metas($optm, $item_id, $item, $product_id, $order) {
    // Custom code to modify the behavior of puiw printslips create html item row metas.
    return $optm;
}
add_filter('puiw_printslips_create_html_item_row_metas', 'puiw_puiw_printslips_create_html_item_row_metas', 10, 5);

puiw_printslips_create_html_options_{$key}_value

View source

/**
 * Example usage of the `puiw_printslips_create_html_options_{$key}_value` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1396 View source
 */
function puiw_puiw_printslips_create_html_options($value, $key, $order) {
    // Custom code to modify the behavior of puiw printslips create html options {$key} value.
    return $value;
}
add_filter('puiw_printslips_create_html_options_{$key}_value', 'puiw_puiw_printslips_create_html_options', 10, 3);

puiw_printslips_return_html

View source

/**
 * Example usage of the `puiw_printslips_return_html` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1412 View source
 */
function puiw_puiw_printslips_return_html($template, $opt, $opts, $order) {
    // Custom code to modify the behavior of puiw printslips return html.
    return $template;
}
add_filter('puiw_printslips_return_html', 'puiw_puiw_printslips_return_html', 10, 4);

puiw_printinventory_create_html_options

View source

/**
 * Example usage of the `puiw_printinventory_create_html_options` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1426 View source
 */
function puiw_puiw_printinventory_create_html_options($opts, $order) {
    // Custom code to modify the behavior of puiw printinventory create html options.
    return $opts;
}
add_filter('puiw_printinventory_create_html_options', 'puiw_puiw_printinventory_create_html_options', 10, 2);

puiw_printinventory_HTML_body

View source

/**
 * Example usage of the `puiw_printinventory_HTML_body` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1472 View source
 */
function puiw_puiw_printinventory_HTML_body($body_content) {
    // Custom code to modify the behavior of puiw printinventory HTML body.
    return $body_content;
}
add_filter('puiw_printinventory_HTML_body', 'puiw_puiw_printinventory_HTML_body', 10, 1);

puiw_printinventory_HTML_extrahead

View source

/**
 * Example usage of the `puiw_printinventory_HTML_extrahead` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1473 View source
 */
function puiw_puiw_printinventory_HTML_extrahead($extrainvoiceheaddata) {
    // Custom code to modify the behavior of puiw printinventory HTML extrahead.
    return $extrainvoiceheaddata;
}
add_filter('puiw_printinventory_HTML_extrahead', 'puiw_puiw_printinventory_HTML_extrahead', 10, 1);

puiw_printinventory_HTML_title

View source

/**
 * Example usage of the `puiw_printinventory_HTML_title` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1474 View source
 */
function puiw_puiw_printinventory_HTML_title($invoicehtmltitle) {
    // Custom code to modify the behavior of puiw printinventory HTML title.
    return $invoicehtmltitle;
}
add_filter('puiw_printinventory_HTML_title', 'puiw_puiw_printinventory_HTML_title', 10, 1);

puiw_printinventory_HTML_style

View source

/**
 * Example usage of the `puiw_printinventory_HTML_style` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1475 View source
 */
function puiw_puiw_printinventory_HTML_style($main_css_style) {
    // Custom code to modify the behavior of puiw printinventory HTML style.
    return $main_css_style;
}
add_filter('puiw_printinventory_HTML_style', 'puiw_puiw_printinventory_HTML_style', 10, 1);

puiw_printinventory_create_html_item_row_metas

View source

/**
 * Example usage of the `puiw_printinventory_create_html_item_row_metas` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1562 View source
 */
function puiw_puiw_printinventory_create_html_item_row_metas($optm, $item_id, $item, $product_id, $order) {
    // Custom code to modify the behavior of puiw printinventory create html item row metas.
    return $optm;
}
add_filter('puiw_printinventory_create_html_item_row_metas', 'puiw_puiw_printinventory_create_html_item_row_metas', 10, 5);

puiw_printinventory_create_html_options_{$key}_value

View source

/**
 * Example usage of the `puiw_printinventory_create_html_options_{$key}_value` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1576 View source
 */
function puiw_puiw_printinventory_create_html_options($value, $key, $order) {
    // Custom code to modify the behavior of puiw printinventory create html options {$key} value.
    return $value;
}
add_filter('puiw_printinventory_create_html_options_{$key}_value', 'puiw_puiw_printinventory_create_html_options', 10, 3);

puiw_printinventory_return_html

View source

/**
 * Example usage of the `puiw_printinventory_return_html` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1589 View source
 */
function puiw_puiw_printinventory_return_html($template, $opt, $opts, $order) {
    // Custom code to modify the behavior of puiw printinventory return html.
    return $template;
}
add_filter('puiw_printinventory_return_html', 'puiw_puiw_printinventory_return_html', 10, 4);

woocommerce_get_sections_{$this->id}

View source

/**
 * Example usage of the `woocommerce_get_sections_{$this->id}` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-setting.php#L78 View source
 */
function puiw_woocommerce_get_sections($id, $sections) {
    // Custom code to modify the behavior of woocommerce get sections .
    return $id;
}
add_filter('woocommerce_get_sections_{$this->id}', 'puiw_woocommerce_get_sections', 10, 2);

woocommerce_get_settings_{$this->id}

View source

/**
 * Example usage of the `woocommerce_get_settings_{$this->id}` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-setting.php#L1470 View source
 */
function puiw_woocommerce_get_settings($section_data, $current_section) {
    // Custom code to modify the behavior of woocommerce get settings {$this->id}.
    return $section_data;
}
add_filter('woocommerce_get_settings_{$this->id}', 'puiw_woocommerce_get_settings', 10, 2);

puiw_section_debug_html

View source

/**
 * Example usage of the `puiw_section_debug_html` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-setting.php#L1637 View source
 */
function puiw_puiw_section_debug_html($html_output) {
    // Custom code to modify the behavior of puiw section debug html.
    return $html_output;
}
add_filter('puiw_section_debug_html', 'puiw_puiw_section_debug_html', 10, 1);

puiw_section_color_html

View source

/**
 * Example usage of the `puiw_section_color_html` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-setting.php#L1673 View source
 */
function puiw_puiw_section_color_html($html_output) {
    // Custom code to modify the behavior of puiw section color html.
    return $html_output;
}
add_filter('puiw_section_color_html', 'puiw_puiw_section_color_html', 10, 1);

puiw_section_migrate_backup_html

View source

/**
 * Example usage of the `puiw_section_migrate_backup_html` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-setting.php#L1698 View source
 */
function puiw_puiw_section_migrate_backup_html($html_output) {
    // Custom code to modify the behavior of puiw section migrate backup html.
    return $html_output;
}
add_filter('puiw_section_migrate_backup_html', 'puiw_puiw_section_migrate_backup_html', 10, 1);

Product Related

pepro_one_page_purchase_categories_args

View source

/**
 * Example usage of the `pepro_one_page_purchase_categories_args` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L2225 View source
 */
function puiw_pepro_one_page_purchase_categories_args($cat_args)) {
    // Custom code to modify the behavior of pepro one page purchase categories args.
    return $cat_args);
}
add_filter('pepro_one_page_purchase_categories_args', 'puiw_pepro_one_page_purchase_categories_args', 10, 1);

pepro_one_page_purchase_prodcuts_args

View source

/**
 * Example usage of the `pepro_one_page_purchase_prodcuts_args` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L2232 View source
 */
function puiw_pepro_one_page_purchase_prodcuts_args($prodcuts_args)) {
    // Custom code to modify the behavior of pepro one page purchase prodcuts args.
    return $prodcuts_args);
}
add_filter('pepro_one_page_purchase_prodcuts_args', 'puiw_pepro_one_page_purchase_prodcuts_args', 10, 1);

pepro_one_page_purchase_prodcuts_date_format

View source

/**
 * Example usage of the `pepro_one_page_purchase_prodcuts_date_format` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L2244 View source
 */
function puiw_pepro_one_page_purchase_prodcuts_date_format($format) {
    // Custom code to modify the behavior of pepro one page purchase prodcuts date format.
    return $format;
}
add_filter('pepro_one_page_purchase_prodcuts_date_format', 'puiw_pepro_one_page_purchase_prodcuts_date_format', 10, 1);

puiw_get_product_weight

View source

/**
 * Example usage of the `puiw_get_product_weight` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L25 View source
 */
function puiw_puiw_get_product_weight($format_weight, $weight, $product) {
    // Custom code to modify the behavior of puiw get product weight.
    return $format_weight;
}
add_filter('puiw_get_product_weight', 'puiw_puiw_get_product_weight', 10, 3);

puiw_get_product_dimension

View source

/**
 * Example usage of the `puiw_get_product_dimension` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L54 View source
 */
function puiw_puiw_get_product_dimension($format_dimensions, $get_dimensions, $product) {
    // Custom code to modify the behavior of puiw get product dimension.
    return $format_dimensions;
}
add_filter('puiw_get_product_dimension', 'puiw_puiw_get_product_dimension', 10, 3);

puiw_get_show_product_sku_inventory

View source

/**
 * Example usage of the `puiw_get_show_product_sku_inventory` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1297 View source
 */
function puiw_puiw_get_show_product_sku_inventory($show_product_sku_inventory, $default) {
    // Custom code to modify the behavior of puiw get show product sku inventory.
    return $show_product_sku_inventory;
}
add_filter('puiw_get_show_product_sku_inventory', 'puiw_puiw_get_show_product_sku_inventory', 10, 2);

puiw_get_show_product_sku2_inventory

View source

/**
 * Example usage of the `puiw_get_show_product_sku2_inventory` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1313 View source
 */
function puiw_puiw_get_show_product_sku2_inventory($show_product_sku2_inventory, $default) {
    // Custom code to modify the behavior of puiw get show product sku2 inventory.
    return $show_product_sku2_inventory;
}
add_filter('puiw_get_show_product_sku2_inventory', 'puiw_puiw_get_show_product_sku2_inventory', 10, 2);

puiw_get_show_product_weight_in_inventory

View source

/**
 * Example usage of the `puiw_get_show_product_weight_in_inventory` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1330 View source
 */
function puiw_puiw_get_show_product_weight_in_inventory($show_product_image_inventory, $default) {
    // Custom code to modify the behavior of puiw get show product weight in inventory.
    return $show_product_image_inventory;
}
add_filter('puiw_get_show_product_weight_in_inventory', 'puiw_puiw_get_show_product_weight_in_inventory', 10, 2);

puiw_get_show_product_total_weight_in_inventory

View source

/**
 * Example usage of the `puiw_get_show_product_total_weight_in_inventory` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1346 View source
 */
function puiw_puiw_get_show_product_total_weight_in_inventory($show_product_image_inventory, $default) {
    // Custom code to modify the behavior of puiw get show product total weight in inventory.
    return $show_product_image_inventory;
}
add_filter('puiw_get_show_product_total_weight_in_inventory', 'puiw_puiw_get_show_product_total_weight_in_inventory', 10, 2);

puiw_get_show_product_dimensions_in_inventory

View source

/**
 * Example usage of the `puiw_get_show_product_dimensions_in_inventory` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1362 View source
 */
function puiw_puiw_get_show_product_dimensions_in_inventory($show_product_image_inventory, $default) {
    // Custom code to modify the behavior of puiw get show product dimensions in inventory.
    return $show_product_image_inventory;
}
add_filter('puiw_get_show_product_dimensions_in_inventory', 'puiw_puiw_get_show_product_dimensions_in_inventory', 10, 2);

puiw_get_show_product_tax

View source

/**
 * Example usage of the `puiw_get_show_product_tax` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1394 View source
 */
function puiw_puiw_get_show_product_tax($show_product_tax, $default) {
    // Custom code to modify the behavior of puiw get show product tax.
    return $show_product_tax;
}
add_filter('puiw_get_show_product_tax', 'puiw_puiw_get_show_product_tax', 10, 2);

puiw_get_show_product_quantity_in_inventory

View source

/**
 * Example usage of the `puiw_get_show_product_quantity_in_inventory` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1410 View source
 */
function puiw_puiw_get_show_product_quantity_in_inventory($show_product_image_inventory, $default) {
    // Custom code to modify the behavior of puiw get show product quantity in inventory.
    return $show_product_image_inventory;
}
add_filter('puiw_get_show_product_quantity_in_inventory', 'puiw_puiw_get_show_product_quantity_in_inventory', 10, 2);

puiw_get_show_product_note_in_inventory

View source

/**
 * Example usage of the `puiw_get_show_product_note_in_inventory` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1426 View source
 */
function puiw_puiw_get_show_product_note_in_inventory($show_product_image_inventory, $default) {
    // Custom code to modify the behavior of puiw get show product note in inventory.
    return $show_product_image_inventory;
}
add_filter('puiw_get_show_product_note_in_inventory', 'puiw_puiw_get_show_product_note_in_inventory', 10, 2);

puiw_get_show_product_image_inventory

View source

/**
 * Example usage of the `puiw_get_show_product_image_inventory` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1442 View source
 */
function puiw_puiw_get_show_product_image_inventory($show_product_image_inventory, $default) {
    // Custom code to modify the behavior of puiw get show product image inventory.
    return $show_product_image_inventory;
}
add_filter('puiw_get_show_product_image_inventory', 'puiw_puiw_get_show_product_image_inventory', 10, 2);

puiw_get_show_purchase_complete_date

View source

/**
 * Example usage of the `puiw_get_show_purchase_complete_date` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1666 View source
 */
function puiw_puiw_get_show_purchase_complete_date($transaction_ref_id, $default) {
    // Custom code to modify the behavior of puiw get show purchase complete date.
    return $transaction_ref_id;
}
add_filter('puiw_get_show_purchase_complete_date', 'puiw_puiw_get_show_purchase_complete_date', 10, 2);

puiw_get_show_product_image

View source

/**
 * Example usage of the `puiw_get_show_product_image` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1698 View source
 */
function puiw_puiw_get_show_product_image($show_product_image, $default) {
    // Custom code to modify the behavior of puiw get show product image.
    return $show_product_image;
}
add_filter('puiw_get_show_product_image', 'puiw_puiw_get_show_product_image', 10, 2);

puiw_get_show_product_purchase_note

View source

/**
 * Example usage of the `puiw_get_show_product_purchase_note` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1714 View source
 */
function puiw_puiw_get_show_product_purchase_note($show_product_image, $default) {
    // Custom code to modify the behavior of puiw get show product purchase note.
    return $show_product_image;
}
add_filter('puiw_get_show_product_purchase_note', 'puiw_puiw_get_show_product_purchase_note', 10, 2);

puiw_get_show_product_weight

View source

/**
 * Example usage of the `puiw_get_show_product_weight` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1971 View source
 */
function puiw_puiw_get_show_product_weight($show_product_weight, $default) {
    // Custom code to modify the behavior of puiw get show product weight.
    return $show_product_weight;
}
add_filter('puiw_get_show_product_weight', 'puiw_puiw_get_show_product_weight', 10, 2);

puiw_get_show_product_dimensions

View source

/**
 * Example usage of the `puiw_get_show_product_dimensions` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1987 View source
 */
function puiw_puiw_get_show_product_dimensions($show_product_dimensions, $default) {
    // Custom code to modify the behavior of puiw get show product dimensions.
    return $show_product_dimensions;
}
add_filter('puiw_get_show_product_dimensions', 'puiw_puiw_get_show_product_dimensions', 10, 2);

puiw_get_show_product_sku

View source

/**
 * Example usage of the `puiw_get_show_product_sku` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L2003 View source
 */
function puiw_puiw_get_show_product_sku($show_product_sku, $default) {
    // Custom code to modify the behavior of puiw get show product sku.
    return $show_product_sku;
}
add_filter('puiw_get_show_product_sku', 'puiw_puiw_get_show_product_sku', 10, 2);

puiw_get_show_product_sku2

View source

/**
 * Example usage of the `puiw_get_show_product_sku2` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L2019 View source
 */
function puiw_puiw_get_show_product_sku2($show_product_sku2, $default) {
    // Custom code to modify the behavior of puiw get show product sku2.
    return $show_product_sku2;
}
add_filter('puiw_get_show_product_sku2', 'puiw_puiw_get_show_product_sku2', 10, 2);

puiw_get_woosb_show_bundled_products

View source

/**
 * Example usage of the `puiw_get_woosb_show_bundled_products` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L2067 View source
 */
function puiw_puiw_get_woosb_show_bundled_products($show_product_sku2, $default) {
    // Custom code to modify the behavior of puiw get woosb show bundled products.
    return $show_product_sku2;
}
add_filter('puiw_get_woosb_show_bundled_products', 'puiw_puiw_get_woosb_show_bundled_products', 10, 2);

puiw_invoice_item_get_purchase_note

View source

/**
 * Example usage of the `puiw_invoice_item_get_purchase_note` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1499 View source
 */
function puiw_puiw_invoice_item_get_purchase_note($get_purchase_note, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get purchase note.
    return $get_purchase_note;
}
add_filter('puiw_invoice_item_get_purchase_note', 'puiw_puiw_invoice_item_get_purchase_note', 10, 4);

puiw_invoice_item_get_product_weight_raw

View source

/**
 * Example usage of the `puiw_invoice_item_get_product_weight_raw` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1501 View source
 */
function puiw_puiw_invoice_item_get_product_weight_raw($product_weight, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get product weight raw.
    return $product_weight;
}
add_filter('puiw_invoice_item_get_product_weight_raw', 'puiw_puiw_invoice_item_get_product_weight_raw', 10, 4);

puiw_invoice_item_get_product_weight

View source

/**
 * Example usage of the `puiw_invoice_item_get_product_weight` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1502 View source
 */
function puiw_puiw_invoice_item_get_product_weight($format_weight, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get product weight.
    return $format_weight;
}
add_filter('puiw_invoice_item_get_product_weight', 'puiw_puiw_invoice_item_get_product_weight', 10, 4);

puiw_invoice_item_get_product_dimension

View source

/**
 * Example usage of the `puiw_invoice_item_get_product_dimension` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1503 View source
 */
function puiw_puiw_invoice_item_get_product_dimension($product_dimension, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get product dimension.
    return $product_dimension;
}
add_filter('puiw_invoice_item_get_product_dimension', 'puiw_puiw_invoice_item_get_product_dimension', 10, 4);

puiw_invoice_item_get_product_discount

View source

/**
 * Example usage of the `puiw_invoice_item_get_product_discount` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1506 View source
 */
function puiw_puiw_invoice_item_get_product_discount($percentage, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get product discount.
    return $percentage;
}
add_filter('puiw_invoice_item_get_product_discount', 'puiw_puiw_invoice_item_get_product_discount', 10, 4);

Invoice Related

puiw_email_invoice_customer_subject

View source

/**
 * Example usage of the `puiw_email_invoice_customer_subject` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L333 View source
 */
function puiw_puiw_email_invoice_customer_subject($subject, $order_id) {
    // Custom code to modify the behavior of puiw email invoice customer subject.
    return $subject;
}
add_filter('puiw_email_invoice_customer_subject', 'puiw_puiw_email_invoice_customer_subject', 10, 2);

pepro_ultimate_invoice_orders_action

View source

/**
 * Example usage of the `pepro_ultimate_invoice_orders_action` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L1456 View source
 */
function puiw_pepro_ultimate_invoice_orders_action($actions, $order, $allowed_statuses, $access_HTML, $access_PDF) {
    // Custom code to modify the behavior of pepro ultimate invoice orders action.
    return $actions;
}
add_filter('pepro_ultimate_invoice_orders_action', 'puiw_pepro_ultimate_invoice_orders_action', 10, 7);

pepro_ultimate_invoice_default_options

View source

/**
 * Example usage of the `pepro_ultimate_invoice_default_options` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/pepro-ultimate-invoice.php#L1714 View source
 */
function puiw_pepro_ultimate_invoice_default_options($wc_opt, $clear_mode) {
    // Custom code to modify the behavior of pepro ultimate invoice default options.
    return $wc_opt;
}
add_filter('pepro_ultimate_invoice_default_options', 'puiw_pepro_ultimate_invoice_default_options', 10, 2);

pepro_ultimate_invoice_orders_column_data

View source

/**
 * Example usage of the `pepro_ultimate_invoice_orders_column_data` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-column.php#L144 View source
 */
function puiw_pepro_ultimate_invoice_orders_column_data($col_data, $order_id) {
    // Custom code to modify the behavior of pepro ultimate invoice orders column data.
    return $col_data;
}
add_filter('pepro_ultimate_invoice_orders_column_data', 'puiw_pepro_ultimate_invoice_orders_column_data', 10, 2);

puiw_get_invoice_title

View source

/**
 * Example usage of the `puiw_get_invoice_title` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L150 View source
 */
function puiw_puiw_get_invoice_title($invoice_title) {
    // Custom code to modify the behavior of puiw get invoice title.
    return $invoice_title;
}
add_filter('puiw_get_invoice_title', 'puiw_puiw_get_invoice_title', 10, 1);

puiw_get_send_invoices_via_email

View source

/**
 * Example usage of the `puiw_get_send_invoices_via_email` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L459 View source
 */
function puiw_puiw_get_send_invoices_via_email($send_invoices_via_email, $default) {
    // Custom code to modify the behavior of puiw get send invoices via email.
    return $send_invoices_via_email;
}
add_filter('puiw_get_send_invoices_via_email', 'puiw_puiw_get_send_invoices_via_email', 10, 2);

puiw_get_send_invoices_via_email_opt

View source

/**
 * Example usage of the `puiw_get_send_invoices_via_email_opt` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L475 View source
 */
function puiw_puiw_get_send_invoices_via_email_opt($send_invoices_via_email_opt, $default) {
    // Custom code to modify the behavior of puiw get send invoices via email opt.
    return $send_invoices_via_email_opt;
}
add_filter('puiw_get_send_invoices_via_email_opt', 'puiw_puiw_get_send_invoices_via_email_opt', 10, 2);

puiw_get_send_invoices_via_email_admin

View source

/**
 * Example usage of the `puiw_get_send_invoices_via_email_admin` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L491 View source
 */
function puiw_puiw_get_send_invoices_via_email_admin($send_invoices_via_email_admin, $default) {
    // Custom code to modify the behavior of puiw get send invoices via email admin.
    return $send_invoices_via_email_admin;
}
add_filter('puiw_get_send_invoices_via_email_admin', 'puiw_puiw_get_send_invoices_via_email_admin', 10, 2);

puiw_get_send_invoices_via_email_opt_admin

View source

/**
 * Example usage of the `puiw_get_send_invoices_via_email_opt_admin` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L507 View source
 */
function puiw_puiw_get_send_invoices_via_email_opt_admin($send_invoices_via_email_opt_admin, $default) {
    // Custom code to modify the behavior of puiw get send invoices via email opt admin.
    return $send_invoices_via_email_opt_admin;
}
add_filter('puiw_get_send_invoices_via_email_opt_admin', 'puiw_puiw_get_send_invoices_via_email_opt_admin', 10, 2);

puiw_get_send_invoices_via_email_shpmngrs

View source

/**
 * Example usage of the `puiw_get_send_invoices_via_email_shpmngrs` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L523 View source
 */
function puiw_puiw_get_send_invoices_via_email_shpmngrs($send_invoices_via_email_shpmngrs, $default) {
    // Custom code to modify the behavior of puiw get send invoices via email shpmngrs.
    return $send_invoices_via_email_shpmngrs;
}
add_filter('puiw_get_send_invoices_via_email_shpmngrs', 'puiw_puiw_get_send_invoices_via_email_shpmngrs', 10, 2);

puiw_get_allow_users_use_invoices

View source

/**
 * Example usage of the `puiw_get_allow_users_use_invoices` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L539 View source
 */
function puiw_puiw_get_allow_users_use_invoices($allow_users_use_invoices, $default) {
    // Custom code to modify the behavior of puiw get allow users use invoices.
    return $allow_users_use_invoices;
}
add_filter('puiw_get_allow_users_use_invoices', 'puiw_puiw_get_allow_users_use_invoices', 10, 2);

puiw_get_allow_users_have_invoices

View source

/**
 * Example usage of the `puiw_get_allow_users_have_invoices` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L555 View source
 */
function puiw_puiw_get_allow_users_have_invoices($allow_users_use_invoices, $default) {
    // Custom code to modify the behavior of puiw get allow users have invoices.
    return $allow_users_use_invoices;
}
add_filter('puiw_get_allow_users_have_invoices', 'puiw_puiw_get_allow_users_have_invoices', 10, 2);

puiw_get_allow_guest_users_view_invoices

View source

/**
 * Example usage of the `puiw_get_allow_guest_users_view_invoices` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L571 View source
 */
function puiw_puiw_get_allow_guest_users_view_invoices($allow_users_use_invoices, $default) {
    // Custom code to modify the behavior of puiw get allow guest users view invoices.
    return $allow_users_use_invoices;
}
add_filter('puiw_get_allow_guest_users_view_invoices', 'puiw_puiw_get_allow_guest_users_view_invoices', 10, 2);

puiw_get_allow_users_use_invoices_criteria

View source

/**
 * Example usage of the `puiw_get_allow_users_use_invoices_criteria` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L587 View source
 */
function puiw_puiw_get_allow_users_use_invoices_criteria($allow_users_use_invoices_criteria, $default) {
    // Custom code to modify the behavior of puiw get allow users use invoices criteria.
    return $allow_users_use_invoices_criteria;
}
add_filter('puiw_get_allow_users_use_invoices_criteria', 'puiw_puiw_get_allow_users_use_invoices_criteria', 10, 2);

puiw_get_show_invoices_id_barcode

View source

/**
 * Example usage of the `puiw_get_show_invoices_id_barcode` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L603 View source
 */
function puiw_puiw_get_show_invoices_id_barcode($show_barcode_id, $default) {
    // Custom code to modify the behavior of puiw get show invoices id barcode.
    return $show_barcode_id;
}
add_filter('puiw_get_show_invoices_id_barcode', 'puiw_puiw_get_show_invoices_id_barcode', 10, 2);

puiw_get_allow_preorder_invoice

View source

/**
 * Example usage of the `puiw_get_allow_preorder_invoice` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L763 View source
 */
function puiw_puiw_get_allow_preorder_invoice($allow_preorder_invoice, $default) {
    // Custom code to modify the behavior of puiw get allow preorder invoice.
    return $allow_preorder_invoice;
}
add_filter('puiw_get_allow_preorder_invoice', 'puiw_puiw_get_allow_preorder_invoice', 10, 2);

puiw_get_attach_pdf_invoices_to_mail

View source

/**
 * Example usage of the `puiw_get_attach_pdf_invoices_to_mail` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L875 View source
 */
function puiw_puiw_get_attach_pdf_invoices_to_mail($attach_pdf_invoices_to_mail, $default) {
    // Custom code to modify the behavior of puiw get attach pdf invoices to mail.
    return $attach_pdf_invoices_to_mail;
}
add_filter('puiw_get_attach_pdf_invoices_to_mail', 'puiw_puiw_get_attach_pdf_invoices_to_mail', 10, 2);

puiw_get_preinvoice_template

View source

/**
 * Example usage of the `puiw_get_preinvoice_template` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1041 View source
 */
function puiw_puiw_get_preinvoice_template($template, $default) {
    // Custom code to modify the behavior of puiw get preinvoice template.
    return $template;
}
add_filter('puiw_get_preinvoice_template', 'puiw_puiw_get_preinvoice_template', 10, 2);

puiw_get_preinvoice_theme_color

View source

/**
 * Example usage of the `puiw_get_preinvoice_theme_color` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1057 View source
 */
function puiw_puiw_get_preinvoice_theme_color($theme_color, $default) {
    // Custom code to modify the behavior of puiw get preinvoice theme color.
    return $theme_color;
}
add_filter('puiw_get_preinvoice_theme_color', 'puiw_puiw_get_preinvoice_theme_color', 10, 2);

puiw_get_preinvoice_theme_color2

View source

/**
 * Example usage of the `puiw_get_preinvoice_theme_color2` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1073 View source
 */
function puiw_puiw_get_preinvoice_theme_color2($theme_color, $default) {
    // Custom code to modify the behavior of puiw get preinvoice theme color2.
    return $theme_color;
}
add_filter('puiw_get_preinvoice_theme_color2', 'puiw_puiw_get_preinvoice_theme_color2', 10, 2);

puiw_get_preinvoice_theme_color3

View source

/**
 * Example usage of the `puiw_get_preinvoice_theme_color3` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1089 View source
 */
function puiw_puiw_get_preinvoice_theme_color3($theme_color, $default) {
    // Custom code to modify the behavior of puiw get preinvoice theme color3.
    return $theme_color;
}
add_filter('puiw_get_preinvoice_theme_color3', 'puiw_puiw_get_preinvoice_theme_color3', 10, 2);

puiw_get_invoice_prefix

View source

/**
 * Example usage of the `puiw_get_invoice_prefix` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1121 View source
 */
function puiw_puiw_get_invoice_prefix($invoice_prefix, $default) {
    // Custom code to modify the behavior of puiw get invoice prefix.
    return $invoice_prefix;
}
add_filter('puiw_get_invoice_prefix', 'puiw_puiw_get_invoice_prefix', 10, 2);

puiw_get_invoice_suffix

View source

/**
 * Example usage of the `puiw_get_invoice_suffix` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1153 View source
 */
function puiw_puiw_get_invoice_suffix($invoice_suffix, $default) {
    // Custom code to modify the behavior of puiw get invoice suffix.
    return $invoice_suffix;
}
add_filter('puiw_get_invoice_suffix', 'puiw_puiw_get_invoice_suffix', 10, 2);

puiw_get_invoice_start

View source

/**
 * Example usage of the `puiw_get_invoice_start` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1169 View source
 */
function puiw_puiw_get_invoice_start($invoice_start, $default) {
    // Custom code to modify the behavior of puiw get invoice start.
    return $invoice_start;
}
add_filter('puiw_get_invoice_start', 'puiw_puiw_get_invoice_start', 10, 2);

puiw_get_invoices_footer

View source

/**
 * Example usage of the `puiw_get_invoices_footer` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1265 View source
 */
function puiw_puiw_get_invoices_footer($invoices_footer, $default) {
    // Custom code to modify the behavior of puiw get invoices footer.
    return $invoices_footer;
}
add_filter('puiw_get_invoices_footer', 'puiw_puiw_get_invoices_footer', 10, 2);

puiw_printinvoice_getinvoice_id

View source

/**
 * Example usage of the `puiw_printinvoice_getinvoice_id` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L204 View source
 */
function puiw_puiw_printinvoice_getinvoice_id($return, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getinvoice id.
    return $return;
}
add_filter('puiw_printinvoice_getinvoice_id', 'puiw_puiw_printinvoice_getinvoice_id', 10, 3);

puiw_printinvoice_getinvoice_id_en

View source

/**
 * Example usage of the `puiw_printinvoice_getinvoice_id_en` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L205 View source
 */
function puiw_puiw_printinvoice_getinvoice_id_en($return, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getinvoice id en.
    return $return;
}
add_filter('puiw_printinvoice_getinvoice_id_en', 'puiw_puiw_printinvoice_getinvoice_id_en', 10, 3);

puiw_printinvoice_getinvoice_id_raw

View source

/**
 * Example usage of the `puiw_printinvoice_getinvoice_id_raw` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L206 View source
 */
function puiw_puiw_printinvoice_getinvoice_id_raw($order_id, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getinvoice id raw.
    return $order_id;
}
add_filter('puiw_printinvoice_getinvoice_id_raw', 'puiw_puiw_printinvoice_getinvoice_id_raw', 10, 3);

puiw_printinvoice_getinvoice_title

View source

/**
 * Example usage of the `puiw_printinvoice_getinvoice_title` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L207 View source
 */
function puiw_puiw_printinvoice_getinvoice_title($invoice_title, $invoice_id, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getinvoice title.
    return $invoice_title;
}
add_filter('puiw_printinvoice_getinvoice_title', 'puiw_puiw_printinvoice_getinvoice_title', 10, 5);

puiw_printinvoice_getinvoice_payment_method

View source

/**
 * Example usage of the `puiw_printinvoice_getinvoice_payment_method` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L208 View source
 */
function puiw_puiw_printinvoice_getinvoice_payment_method($payment_method_title, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getinvoice payment method.
    return $payment_method_title;
}
add_filter('puiw_printinvoice_getinvoice_payment_method', 'puiw_puiw_printinvoice_getinvoice_payment_method', 10, 3);

puiw_printinvoice_getinvoice_shipping_method

View source

/**
 * Example usage of the `puiw_printinvoice_getinvoice_shipping_method` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L223 View source
 */
function puiw_puiw_printinvoice_getinvoice_shipping_method($transaction_id, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getinvoice shipping method.
    return $transaction_id;
}
add_filter('puiw_printinvoice_getinvoice_shipping_method', 'puiw_puiw_printinvoice_getinvoice_shipping_method', 10, 5);

puiw_printinvoice_getcustomer_email

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_email` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L210 View source
 */
function puiw_puiw_printinvoice_getcustomer_email($return, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer email.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_email', 'puiw_puiw_printinvoice_getcustomer_email', 10, 3);

puiw_printinvoice_getcustomer_phone

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_phone` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L211 View source
 */
function puiw_puiw_printinvoice_getcustomer_phone($return, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer phone.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_phone', 'puiw_puiw_printinvoice_getcustomer_phone', 10, 3);

puiw_printinvoice_getcustomer_firstname

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_firstname` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L212 View source
 */
function puiw_puiw_printinvoice_getcustomer_firstname($return, $opts, $order, $use_billing) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer firstname.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_firstname', 'puiw_puiw_printinvoice_getcustomer_firstname', 10, 4);

puiw_printinvoice_getcustomer_lastname

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_lastname` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L213 View source
 */
function puiw_puiw_printinvoice_getcustomer_lastname($return, $opts, $order, $use_billing) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer lastname.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_lastname', 'puiw_puiw_printinvoice_getcustomer_lastname', 10, 4);

puiw_printinvoice_getcustomer_fullname

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_fullname` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L214 View source
 */
function puiw_puiw_printinvoice_getcustomer_fullname($return, $opts, $order, $use_billing) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer fullname.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_fullname', 'puiw_puiw_printinvoice_getcustomer_fullname', 10, 4);

puiw_printinvoice_getcustomer_company

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_company` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L215 View source
 */
function puiw_puiw_printinvoice_getcustomer_company($return, $opts, $order, $use_billing) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer company.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_company', 'puiw_puiw_printinvoice_getcustomer_company', 10, 4);

puiw_printinvoice_getcustomer_country

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_country` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L216 View source
 */
function puiw_puiw_printinvoice_getcustomer_country($return, $opts, $order, $use_billing) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer country.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_country', 'puiw_puiw_printinvoice_getcustomer_country', 10, 4);

puiw_printinvoice_getcustomer_state

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_state` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L217 View source
 */
function puiw_puiw_printinvoice_getcustomer_state($return, $opts, $order, $use_billing) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer state.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_state', 'puiw_puiw_printinvoice_getcustomer_state', 10, 4);

puiw_printinvoice_getcustomer_city

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_city` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L218 View source
 */
function puiw_puiw_printinvoice_getcustomer_city($return, $opts, $order, $use_billing) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer city.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_city', 'puiw_puiw_printinvoice_getcustomer_city', 10, 4);

puiw_printinvoice_getcustomer_address_1

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_address_1` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L219 View source
 */
function puiw_puiw_printinvoice_getcustomer_address_1($return, $opts, $order, $use_billing) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer address 1.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_address_1', 'puiw_puiw_printinvoice_getcustomer_address_1', 10, 4);

puiw_printinvoice_getcustomer_address_2

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_address_2` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L220 View source
 */
function puiw_puiw_printinvoice_getcustomer_address_2($return, $opts, $order, $use_billing) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer address 2.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_address_2', 'puiw_puiw_printinvoice_getcustomer_address_2', 10, 4);

puiw_printinvoice_getcustomer_postcode

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_postcode` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L221 View source
 */
function puiw_puiw_printinvoice_getcustomer_postcode($return, $opts, $order, $use_billing) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer postcode.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_postcode', 'puiw_puiw_printinvoice_getcustomer_postcode', 10, 4);

puiw_printinvoice_getinvoicecustomer_signature

View source

/**
 * Example usage of the `puiw_printinvoice_getinvoicecustomer_signature` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L222 View source
 */
function puiw_puiw_printinvoice_getinvoicecustomer_signature($return, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getinvoicecustomer signature.
    return $return;
}
add_filter('puiw_printinvoice_getinvoicecustomer_signature', 'puiw_puiw_printinvoice_getinvoicecustomer_signature', 10, 5);

puiw_printinvoice_getcustomer_uin

View source

/**
 * Example usage of the `puiw_printinvoice_getcustomer_uin` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L224 View source
 */
function puiw_puiw_printinvoice_getcustomer_uin($return, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getcustomer uin.
    return $return;
}
add_filter('puiw_printinvoice_getcustomer_uin', 'puiw_puiw_printinvoice_getcustomer_uin', 10, 5);

puiw_printinvoice_getinvoice_qrdata

View source

/**
 * Example usage of the `puiw_printinvoice_getinvoice_qrdata` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L225 View source
 */
function puiw_puiw_printinvoice_getinvoice_qrdata($return, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice getinvoice qrdata.
    return $return;
}
add_filter('puiw_printinvoice_getinvoice_qrdata', 'puiw_puiw_printinvoice_getinvoice_qrdata', 10, 3);

puiw_printinvoice_check_user_has_access

View source

/**
 * Example usage of the `puiw_printinvoice_check_user_has_access` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L376 View source
 */
function puiw_puiw_printinvoice_check_user_has_access($return, $type, $order) {
    // Custom code to modify the behavior of puiw printinvoice check user has access.
    return $return;
}
add_filter('puiw_printinvoice_check_user_has_access', 'puiw_puiw_printinvoice_check_user_has_access', 10, 3);

puiw_printinvoice_create_html_options

View source

/**
 * Example usage of the `puiw_printinvoice_create_html_options` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1670 View source
 */
function puiw_puiw_printinvoice_create_html_options($opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice create html options.
    return $opts;
}
add_filter('puiw_printinvoice_create_html_options', 'puiw_puiw_printinvoice_create_html_options', 10, 2);

puiw_printinvoice_order_note_customer

View source

/**
 * Example usage of the `puiw_printinvoice_order_note_customer` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L478 View source
 */
function puiw_puiw_printinvoice_order_note_customer($return, $note, $order, $opt) {
    // Custom code to modify the behavior of puiw printinvoice order note customer.
    return $return;
}
add_filter('puiw_printinvoice_order_note_customer', 'puiw_puiw_printinvoice_order_note_customer', 10, 4);

puiw_printinvoice_order_note_shopmngr

View source

/**
 * Example usage of the `puiw_printinvoice_order_note_shopmngr` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L479 View source
 */
function puiw_puiw_printinvoice_order_note_shopmngr($return, $note, $order, $opt) {
    // Custom code to modify the behavior of puiw printinvoice order note shopmngr.
    return $return;
}
add_filter('puiw_printinvoice_order_note_shopmngr', 'puiw_puiw_printinvoice_order_note_shopmngr', 10, 4);

puiw_printinvoice_HTML_body

View source

/**
 * Example usage of the `puiw_printinvoice_HTML_body` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L598 View source
 */
function puiw_puiw_printinvoice_HTML_body($body_content, $order_id) {
    // Custom code to modify the behavior of puiw printinvoice HTML body.
    return $body_content;
}
add_filter('puiw_printinvoice_HTML_body', 'puiw_puiw_printinvoice_HTML_body', 10, 2);

puiw_printinvoice_HTML_extrahead

View source

/**
 * Example usage of the `puiw_printinvoice_HTML_extrahead` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L599 View source
 */
function puiw_puiw_printinvoice_HTML_extrahead($extrainvoiceheaddata, $order_id) {
    // Custom code to modify the behavior of puiw printinvoice HTML extrahead.
    return $extrainvoiceheaddata;
}
add_filter('puiw_printinvoice_HTML_extrahead', 'puiw_puiw_printinvoice_HTML_extrahead', 10, 2);

puiw_printinvoice_HTML_title

View source

/**
 * Example usage of the `puiw_printinvoice_HTML_title` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L600 View source
 */
function puiw_puiw_printinvoice_HTML_title($invoicehtmltitle, $order_id) {
    // Custom code to modify the behavior of puiw printinvoice HTML title.
    return $invoicehtmltitle;
}
add_filter('puiw_printinvoice_HTML_title', 'puiw_puiw_printinvoice_HTML_title', 10, 2);

puiw_printinvoice_HTML_style

View source

/**
 * Example usage of the `puiw_printinvoice_HTML_style` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L601 View source
 */
function puiw_puiw_printinvoice_HTML_style($main_css_style, $main_css_style_inline, $order_id) {
    // Custom code to modify the behavior of puiw printinvoice HTML style.
    return $main_css_style;
}
add_filter('puiw_printinvoice_HTML_style', 'puiw_puiw_printinvoice_HTML_style', 10, 3);

puiw_invoice_item_get_name

View source

/**
 * Example usage of the `puiw_invoice_item_get_name` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1490 View source
 */
function puiw_puiw_invoice_item_get_name($return, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get name.
    return $return;
}
add_filter('puiw_invoice_item_get_name', 'puiw_puiw_invoice_item_get_name', 10, 4);

puiw_invoice_item_extra_classes

View source

/**
 * Example usage of the `puiw_invoice_item_extra_classes` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1491 View source
 */
function puiw_puiw_invoice_item_extra_classes($return, $product, $item_id, $item, $order, $n) {
    // Custom code to modify the behavior of puiw invoice item extra classes.
    return $return;
}
add_filter('puiw_invoice_item_extra_classes', 'puiw_puiw_invoice_item_extra_classes', 10, 6);

puiw_invoice_item_get_quantity

View source

/**
 * Example usage of the `puiw_invoice_item_get_quantity` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1492 View source
 */
function puiw_puiw_invoice_item_get_quantity($return, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get quantity.
    return $return;
}
add_filter('puiw_invoice_item_get_quantity', 'puiw_puiw_invoice_item_get_quantity', 10, 4);

puiw_invoice_item_get_subtotal

View source

/**
 * Example usage of the `puiw_invoice_item_get_subtotal` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1493 View source
 */
function puiw_puiw_invoice_item_get_subtotal($return, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get subtotal.
    return $return;
}
add_filter('puiw_invoice_item_get_subtotal', 'puiw_puiw_invoice_item_get_subtotal', 10, 4);

puiw_invoice_item_get_subtotal_tax

View source

/**
 * Example usage of the `puiw_invoice_item_get_subtotal_tax` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1495 View source
 */
function puiw_puiw_invoice_item_get_subtotal_tax($return, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get subtotal tax.
    return $return;
}
add_filter('puiw_invoice_item_get_subtotal_tax', 'puiw_puiw_invoice_item_get_subtotal_tax', 10, 4);

puiw_invoice_item_get_total

View source

/**
 * Example usage of the `puiw_invoice_item_get_total` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1494 View source
 */
function puiw_puiw_invoice_item_get_total($return, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get total.
    return $return;
}
add_filter('puiw_invoice_item_get_total', 'puiw_puiw_invoice_item_get_total', 10, 4);

puiw_invoice_item_get_total_tax

View source

/**
 * Example usage of the `puiw_invoice_item_get_total_tax` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L628 View source
 */
function puiw_puiw_invoice_item_get_total_tax($return, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get total tax.
    return $return;
}
add_filter('puiw_invoice_item_get_total_tax', 'puiw_puiw_invoice_item_get_total_tax', 10, 4);

puiw_invoice_item_get_total_tax_inc

View source

/**
 * Example usage of the `puiw_invoice_item_get_total_tax_inc` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L629 View source
 */
function puiw_puiw_invoice_item_get_total_tax_inc($return, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get total tax inc.
    return $return;
}
add_filter('puiw_invoice_item_get_total_tax_inc', 'puiw_puiw_invoice_item_get_total_tax_inc', 10, 4);

puiw_invoice_item_get_tax_class

View source

/**
 * Example usage of the `puiw_invoice_item_get_tax_class` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1496 View source
 */
function puiw_puiw_invoice_item_get_tax_class($return, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get tax class.
    return $return;
}
add_filter('puiw_invoice_item_get_tax_class', 'puiw_puiw_invoice_item_get_tax_class', 10, 4);

puiw_invoice_item_get_tax_status

View source

/**
 * Example usage of the `puiw_invoice_item_get_tax_status` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1497 View source
 */
function puiw_puiw_invoice_item_get_tax_status($return, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get tax status.
    return $return;
}
add_filter('puiw_invoice_item_get_tax_status', 'puiw_puiw_invoice_item_get_tax_status', 10, 4);

puiw_invoice_item_get_meta_data

View source

/**
 * Example usage of the `puiw_invoice_item_get_meta_data` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1498 View source
 */
function puiw_puiw_invoice_item_get_meta_data($return, $product, $item, $order) {
    // Custom code to modify the behavior of puiw invoice item get meta data.
    return $return;
}
add_filter('puiw_invoice_item_get_meta_data', 'puiw_puiw_invoice_item_get_meta_data', 10, 4);

puiw_printinvoice_calculate_invoice_total_weight

View source

/**
 * Example usage of the `puiw_printinvoice_calculate_invoice_total_weight` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L646 View source
 */
function puiw_puiw_printinvoice_calculate_invoice_total_weight($return, $total_weight, $product_weight, $quantity, $product, $item, $order) {
    // Custom code to modify the behavior of puiw printinvoice calculate invoice total weight.
    return $return;
}
add_filter('puiw_printinvoice_calculate_invoice_total_weight', 'puiw_puiw_printinvoice_calculate_invoice_total_weight', 10, 7);

puiw_printinvoice_create_html_lineitem_tax_formatted

View source

/**
 * Example usage of the `puiw_printinvoice_create_html_lineitem_tax_formatted` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L783 View source
 */
function puiw_puiw_printinvoice_create_html_lineitem_tax_formatted($tax_formatted, $order, $item) {
    // Custom code to modify the behavior of puiw printinvoice create html lineitem tax formatted.
    return $tax_formatted;
}
add_filter('puiw_printinvoice_create_html_lineitem_tax_formatted', 'puiw_puiw_printinvoice_create_html_lineitem_tax_formatted', 10, 3);

puiw_printinvoice_create_html_total_weight

View source

/**
 * Example usage of the `puiw_printinvoice_create_html_total_weight` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L811 View source
 */
function puiw_puiw_printinvoice_create_html_total_weight($return, $qty_weight, $product_weight, $quantity, $item_id, $item, $product_id, $order) {
    // Custom code to modify the behavior of puiw printinvoice create html total weight.
    return $return;
}
add_filter('puiw_printinvoice_create_html_total_weight', 'puiw_puiw_printinvoice_create_html_total_weight', 10, 8);

puiw_printinvoice_create_html_item_row_metas

View source

/**
 * Example usage of the `puiw_printinvoice_create_html_item_row_metas` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L831 View source
 */
function puiw_puiw_printinvoice_create_html_item_row_metas($optm, $item_id, $item, $product_id, $order) {
    // Custom code to modify the behavior of puiw printinvoice create html item row metas.
    return $optm;
}
add_filter('puiw_printinvoice_create_html_item_row_metas', 'puiw_puiw_printinvoice_create_html_item_row_metas', 10, 5);

puiw_printinvoice_create_html_options_{$key}_value

View source

/**
 * Example usage of the `puiw_printinvoice_create_html_options_{$key}_value` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1679 View source
 */
function puiw_puiw_printinvoice_create_html_options($value, $key, $order) {
    // Custom code to modify the behavior of puiw printinvoice create html options {$key} value.
    return $value;
}
add_filter('puiw_printinvoice_create_html_options_{$key}_value', 'puiw_puiw_printinvoice_create_html_options', 10, 3);

puiw_printinvoice_return_html

View source

/**
 * Example usage of the `puiw_printinvoice_return_html` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L859 View source
 */
function puiw_puiw_printinvoice_return_html($template, $opt, $opts, $order) {
    // Custom code to modify the behavior of puiw printinvoice return html.
    return $template;
}
add_filter('puiw_printinvoice_return_html', 'puiw_puiw_printinvoice_return_html', 10, 4);

puiw_printinvoice_pdf_footer_new

View source

/**
 * Example usage of the `puiw_printinvoice_pdf_footer_new` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1040 View source
 */
function puiw_puiw_printinvoice_pdf_footer_new($footerhtml, $order, $order_id) {
    // Custom code to modify the behavior of puiw printinvoice pdf footer new.
    return $footerhtml;
}
add_filter('puiw_printinvoice_pdf_footer_new', 'puiw_puiw_printinvoice_pdf_footer_new', 10, 3);

puiw_printslips_calculate_invoice_total_weight

View source

/**
 * Example usage of the `puiw_printslips_calculate_invoice_total_weight` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1339 View source
 */
function puiw_puiw_printslips_calculate_invoice_total_weight($return, $total_weight, $product_weight, $quantity, $product, $item, $order) {
    // Custom code to modify the behavior of puiw printslips calculate invoice total weight.
    return $return;
}
add_filter('puiw_printslips_calculate_invoice_total_weight', 'puiw_puiw_printslips_calculate_invoice_total_weight', 10, 7);

puiw_printinventory_calculate_invoice_total_weight

View source

/**
 * Example usage of the `puiw_printinventory_calculate_invoice_total_weight` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1514 View source
 */
function puiw_puiw_printinventory_calculate_invoice_total_weight($return, $total_weight, $product_weight, $quantity, $product, $item, $order) {
    // Custom code to modify the behavior of puiw printinventory calculate invoice total weight.
    return $return;
}
add_filter('puiw_printinventory_calculate_invoice_total_weight', 'puiw_puiw_printinventory_calculate_invoice_total_weight', 10, 7);

puiw_printinvoice_get_order_final_prices

View source

/**
 * Example usage of the `puiw_printinvoice_get_order_final_prices` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1871 View source
 */
function puiw_puiw_printinvoice_get_order_final_prices($tr, $order) {
    // Custom code to modify the behavior of puiw printinvoice get order final prices.
    return $tr;
}
add_filter('puiw_printinvoice_get_order_final_prices', 'puiw_puiw_printinvoice_get_order_final_prices', 10, 2);

puiw_printinvoice_get_order_final_prices_pdf

View source

/**
 * Example usage of the `puiw_printinvoice_get_order_final_prices_pdf` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1892 View source
 */
function puiw_puiw_printinvoice_get_order_final_prices_pdf($tr, $order) {
    // Custom code to modify the behavior of puiw printinvoice get order final prices pdf.
    return $tr;
}
add_filter('puiw_printinvoice_get_order_final_prices_pdf', 'puiw_puiw_printinvoice_get_order_final_prices_pdf', 10, 2);

Order Related

puiw_get_allow_preorder_emptycart

View source

/**
 * Example usage of the `puiw_get_allow_preorder_emptycart` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L795 View source
 */
function puiw_puiw_get_allow_preorder_emptycart($allow_preorder_emptycart, $default) {
    // Custom code to modify the behavior of puiw get allow preorder emptycart.
    return $allow_preorder_emptycart;
}
add_filter('puiw_get_allow_preorder_emptycart', 'puiw_puiw_get_allow_preorder_emptycart', 10, 2);

puiw_get_preorder_shopmngr_extra_note

View source

/**
 * Example usage of the `puiw_get_preorder_shopmngr_extra_note` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L923 View source
 */
function puiw_puiw_get_preorder_shopmngr_extra_note($custom_css_style, $default) {
    // Custom code to modify the behavior of puiw get preorder shopmngr extra note.
    return $custom_css_style;
}
add_filter('puiw_get_preorder_shopmngr_extra_note', 'puiw_puiw_get_preorder_shopmngr_extra_note', 10, 2);

puiw_get_preorder_customer_extra_note

View source

/**
 * Example usage of the `puiw_get_preorder_customer_extra_note` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L939 View source
 */
function puiw_puiw_get_preorder_customer_extra_note($custom_css_style, $default) {
    // Custom code to modify the behavior of puiw get preorder customer extra note.
    return $custom_css_style;
}
add_filter('puiw_get_preorder_customer_extra_note', 'puiw_puiw_get_preorder_customer_extra_note', 10, 2);

puiw_get_show_order_note_inventory

View source

/**
 * Example usage of the `puiw_get_show_order_note_inventory` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1474 View source
 */
function puiw_puiw_get_show_order_note_inventory($show_order_note_inventory, $default) {
    // Custom code to modify the behavior of puiw get show order note inventory.
    return $show_order_note_inventory;
}
add_filter('puiw_get_show_order_note_inventory', 'puiw_puiw_get_show_order_note_inventory', 10, 2);

puiw_get_show_order_date

View source

/**
 * Example usage of the `puiw_get_show_order_date` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1538 View source
 */
function puiw_puiw_get_show_order_date($show_order_date, $default) {
    // Custom code to modify the behavior of puiw get show order date.
    return $show_order_date;
}
add_filter('puiw_get_show_order_date', 'puiw_puiw_get_show_order_date', 10, 2);

puiw_get_show_order_status

View source

/**
 * Example usage of the `puiw_get_show_order_status` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1650 View source
 */
function puiw_puiw_get_show_order_status($transaction_ref_id, $default) {
    // Custom code to modify the behavior of puiw get show order status.
    return $transaction_ref_id;
}
add_filter('puiw_get_show_order_status', 'puiw_puiw_get_show_order_status', 10, 2);

puiw_get_show_order_items

View source

/**
 * Example usage of the `puiw_get_show_order_items` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1730 View source
 */
function puiw_puiw_get_show_order_items($show_order_items, $default) {
    // Custom code to modify the behavior of puiw get show order items.
    return $show_order_items;
}
add_filter('puiw_get_show_order_items', 'puiw_puiw_get_show_order_items', 10, 2);

puiw_get_show_order_total

View source

/**
 * Example usage of the `puiw_get_show_order_total` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1746 View source
 */
function puiw_puiw_get_show_order_total($show_order_total, $default) {
    // Custom code to modify the behavior of puiw get show order total.
    return $show_order_total;
}
add_filter('puiw_get_show_order_total', 'puiw_puiw_get_show_order_total', 10, 2);

puiw_get_show_order_note

View source

/**
 * Example usage of the `puiw_get_show_order_note` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1762 View source
 */
function puiw_puiw_get_show_order_note($show_order_note, $default) {
    // Custom code to modify the behavior of puiw get show order note.
    return $show_order_note;
}
add_filter('puiw_get_show_order_note', 'puiw_puiw_get_show_order_note', 10, 2);

puiw_get_order_note

View source

/**
 * Example usage of the `puiw_get_order_note` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1795 View source
 */
function puiw_puiw_get_order_note($notes, $order, $note_type) {
    // Custom code to modify the behavior of puiw get order note.
    return $notes;
}
add_filter('puiw_get_order_note', 'puiw_puiw_get_order_note', 10, 3);

puiw_printslips_order_note_customer

View source

/**
 * Example usage of the `puiw_printslips_order_note_customer` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1233 View source
 */
function puiw_puiw_printslips_order_note_customer($return, $note, $order, $opt) {
    // Custom code to modify the behavior of puiw printslips order note customer.
    return $return;
}
add_filter('puiw_printslips_order_note_customer', 'puiw_puiw_printslips_order_note_customer', 10, 4);

puiw_printslips_order_note_shopmngr

View source

/**
 * Example usage of the `puiw_printslips_order_note_shopmngr` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1234 View source
 */
function puiw_puiw_printslips_order_note_shopmngr($return, $note, $order, $opt) {
    // Custom code to modify the behavior of puiw printslips order note shopmngr.
    return $return;
}
add_filter('puiw_printslips_order_note_shopmngr', 'puiw_puiw_printslips_order_note_shopmngr', 10, 4);

puiw_printinventory_order_note_customer

View source

/**
 * Example usage of the `puiw_printinventory_order_note_customer` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1440 View source
 */
function puiw_puiw_printinventory_order_note_customer($return, $note, $order, $opt) {
    // Custom code to modify the behavior of puiw printinventory order note customer.
    return $return;
}
add_filter('puiw_printinventory_order_note_customer', 'puiw_puiw_printinventory_order_note_customer', 10, 4);

puiw_printinventory_order_note_shopmngr

View source

/**
 * Example usage of the `puiw_printinventory_order_note_shopmngr` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1441 View source
 */
function puiw_puiw_printinventory_order_note_shopmngr($return, $note, $order, $opt) {
    // Custom code to modify the behavior of puiw printinventory order note shopmngr.
    return $return;
}
add_filter('puiw_printinventory_order_note_shopmngr', 'puiw_puiw_printinventory_order_note_shopmngr', 10, 4);

woocommerce_hidden_order_itemmeta

View source

/**
 * Example usage of the `woocommerce_hidden_order_itemmeta` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L1912 View source
 */
function puiw_woocommerce_hidden_order_itemmeta($return) {
    // Custom code to modify the behavior of woocommerce hidden order itemmeta.
    return $return;
}
add_filter('woocommerce_hidden_order_itemmeta', 'puiw_woocommerce_hidden_order_itemmeta', 10, 12);

puiw_order_items_sort_by

View source

/**
 * Example usage of the `puiw_order_items_sort_by` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L2103 View source
 */
function puiw_puiw_order_items_sort_by($this->fn->get_items_sorting("NONE")) {
    // Custom code to modify the behavior of puiw order items sort by.
    return $this->fn->get_items_sorting("NONE");
}
add_filter('puiw_order_items_sort_by', 'puiw_puiw_order_items_sort_by', 10, 1);

puiw_order_items_sort_by_force

View source

/**
 * Example usage of the `puiw_order_items_sort_by_force` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-print.php#L2121 View source
 */
function puiw_puiw_order_items_sort_by_force($item_order_data, $item_order, $items_id, $item, $product, $items, $sort_by) {
    // Custom code to modify the behavior of puiw order items sort by force.
    return $item_order_data;
}
add_filter('puiw_order_items_sort_by_force', 'puiw_puiw_order_items_sort_by_force', 10, 7);

User Related

puiw_get_show_user_uin

View source

/**
 * Example usage of the `puiw_get_show_user_uin` hook.
 *
 * @url https://github.com/peprodev/ultimate-invoice/blob/master/include/admin/class-template.php#L1811 View source
 */
function puiw_puiw_get_show_user_uin($show_user_uin, $default) {
    // Custom code to modify the behavior of puiw get show user uin.
    return $show_user_uin;
}
add_filter('puiw_get_show_user_uin', 'puiw_puiw_get_show_user_uin', 10, 2);

Clone this wiki locally