B2B Request a Quote 1.5.8 has 68 actions and 64 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when B2B Request a Quote fires an action
add_action( 'woocommerce_after_add_to_cart_quantity', function() {
// Your code runs here.
}, 10, 1 );
// Change a value B2B Request a Quote is about to use
add_filter( 'wc_quote_item_name', function( $value, $item, $is_visible ) {
// Change $value here.
return $value;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filter wc_quote_item_name */ apply_filters( 'wc_quote_item_name', $product_permalink ? sprintf('<a href="%s">%s</a>', $product_permalink, $product->get_name()) : $product->get_name(), $item, $is_visible ); -
/** * Filter wc_quote_item_product */ apply_filters( 'wc_quote_item_product', $quote_item['data'], $quote_item, $quote_item_key ); -
/** * Filter wc_quote_item_thumbnail */ apply_filters( 'wc_quote_item_thumbnail', $product->get_image('thumbnail', array( 'title' => '' ), false), $item_id, $item ); -
/** * Filter wc_quote_item_permalink */ apply_filters( 'wc_quote_item_permalink', $is_visible ? $product->get_permalink($item) : '', $item, $post ); -
/** * Action woocommerce_after_add_to_cart_quantity */ do_action( 'woocommerce_after_add_to_cart_quantity' ); -
/** * Action woocommerce_before_add_to_cart_button */ do_action( 'woocommerce_before_add_to_cart_button' ); -
/** * Action woocommerce_before_add_to_cart_quantity */ do_action( 'woocommerce_before_add_to_cart_quantity' ); -
/** * Filter woocommerce_quantity_input_max */ apply_filters( 'woocommerce_quantity_input_max', $product->get_max_purchase_quantity(), $product ); -
/** * Filter woocommerce_quantity_input_min */ apply_filters( 'woocommerce_quantity_input_min', $product->get_min_purchase_quantity(), $product ); -
/** * Filter wc_quote_item_backorder_notification */ apply_filters( 'wc_quote_item_backorder_notification', '<p class="backorder_notification">' . esc_html__('Available on backorder', 'woo-add-to-quote') . '</p>', $product_id ); -
/** * Filter wc_quote_item_price */ apply_filters( 'wc_quote_item_price', $wc_quote->get_product_price($_product, $args), $quote_item, $quote_item_key ); -
/** * Filter wc_quote_item_product_id */ apply_filters( 'wc_quote_item_product_id', $quote_item['product_id'], $quote_item, $quote_item_key ); -
/** * Filter wc_quote_item_visible */ apply_filters( 'wc_quote_item_visible', true, $quote_item, $quote_item_key ); -
/** * Action wc_quote_session_changed */ do_action( 'wc_quote_session_changed' ); -
/** * Filter woocommerce_add_to_cart_form_action */ apply_filters( 'woocommerce_add_to_cart_form_action', $product->get_permalink() ); -
/** * Action woocommerce_after_add_to_cart_button */ do_action( 'woocommerce_after_add_to_cart_button' ); -
/** * Action woocommerce_after_add_to_cart_form */ do_action( 'woocommerce_after_add_to_cart_form' ); -
/** * Action woocommerce_before_add_to_cart_form */ do_action( 'woocommerce_before_add_to_cart_form' ); -
/** * Action wc_after_quote_item_name */ do_action( 'wc_after_quote_item_name', $quote_item, $quote_item_key ); -
/** * Action wc_quote_after_add_to_quote_button */ do_action( 'wc_quote_after_add_to_quote_button' ); -
/** * Filter wc_quote_item_remove_link */ apply_filters( 'wc_quote_item_remove_link', sprintf( '<a href="%s" class="remove remove-cart-item wc-quote-remove-item" aria-label="%s" data-cart_item_key="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_attr($quote_item_key), esc_html__('Remove this item', 'woo-add-to-quote'), esc_attr($quote_item_key), esc_attr($product_id), esc_attr($_product->get_sku()) ), $quote_item_key ); -
/** * Action wc_quote_send_quote_email_to_admin */ do_action( 'wc_quote_send_quote_email_to_admin', $post_id ); -
/** * Action wc_quote_send_quote_email_to_customer */ do_action( 'wc_quote_send_quote_email_to_customer', $post_id ); -
/** * Filter wc_add_to_quote_validation */ apply_filters( 'wc_add_to_quote_validation', true, $product_id, $quantity, $form_data ); -
/** * Filter wc_quote___FUNCTION__ */ apply_filters( "wc_quote_{__FUNCTION__}", $this->get_totals_var('subtotal_tax') ); -
/** * Filter wc_quote_add_to_cart_validation */ apply_filters( 'wc_quote_add_to_cart_validation', true, $product_id, $quantity, $quote_item ); -
/** * Filter wc_quote_add_to_quote_validation */ apply_filters( 'wc_quote_add_to_quote_validation', true, $product_id, $quantity, $form_data ); -
/** * Filter wc_quote_admin_email */ apply_filters( 'wc_quote_admin_email', $admin_email, $quote_id ); -
/** * Action wc_quote_after_quote_contents */ do_action( 'wc_quote_after_quote_contents' ); -
/** * Action wc_quote_after_quote_table */ do_action( 'wc_quote_after_quote_table' ); -
/** * Action wc_quote_before_quote_collaterals */ do_action( 'wc_quote_before_quote_collaterals' ); -
/** * Action wc_quote_before_quote_contents */ do_action( 'wc_quote_before_quote_contents' ); -
/** * Action wc_quote_before_quote_table */ do_action( 'wc_quote_before_quote_table' ); -
/** * Action wc_quote_before_quote_totals */ do_action( 'wc_quote_before_quote_totals' ); -
/** * Cart collaterals hook. */ do_action( 'wc_quote_collaterals' ); -
/** * Action wc_quote_email_after_customer_details */ do_action( 'wc_quote_email_after_customer_details', $quote_id, $email ); -
/** * Action wc_quote_email_customer_details */ do_action( 'wc_quote_email_customer_details', $quote_id, $email ); -
/** * Action wc_quote_email_header */ do_action( 'wc_quote_email_header', $email_heading, $email ); -
/** * Action wc_quote_email_quote_details */ do_action( 'wc_quote_email_quote_details', $quote_id, $email ); -
/** * Action wc_quote_email_quote_meta */ do_action( 'wc_quote_email_quote_meta', $quote_id, $email ); -
/** * Filter wc_quote_email_text */ apply_filters( 'wc_quote_email_text', $email_message ); -
/** * Filter wc_quote_item_class */ apply_filters( 'wc_quote_item_class', 'cart_item', $quote_item, $quote_item_key ); -
/** * Action wc_quote_item_removed */ do_action( 'wc_quote_item_removed', $quote_item_key, $this ); -
/** * Filter wc_quote_product_subtotal */ apply_filters( 'wc_quote_product_subtotal', $product_subtotal, $product, $quantity, $this ); -
/** * Filter wc_quote_tabs_array */ apply_filters( 'wc_quote_tabs_array', $this->tabs ); -
/** * Filter wc_quote_tax_total */ apply_filters( 'wc_quote_tax_total', $quote_tax_total, $this->quote_contents ); -
/** * Filter woocommerce_reset_variations_link */ apply_filters( 'woocommerce_reset_variations_link', '<a class="reset_variations" href="#">' . esc_html__('Clear', 'woo-add-to-quote') . '</a>' ); -
/** * * Hook Filter */ apply_filters( 'bundle_setting_object', $bundle_data, $bundle_id, $product_id ); -
/** * Filter wc_quote__offered_total */ apply_filters( 'wc_quote__offered_total', $quote_subtotal, $this->quote_contents ); -
/** * Filter wc_quote_$quote_status_admin_email_heading */ apply_filters( "wc_quote_{$quote_status}_admin_email_heading", $email_heading ); -
/** * Filter wc_quote_$quote_status_user_email_heading */ apply_filters( "wc_quote_{$quote_status}_user_email_heading", $email_heading ); -
/** * Filter wc_quote_add_item */ apply_filters( 'wc_quote_add_item', array_merge( $quote_item_data, array( 'key' => $quote_item_key, 'product_id' => $product_id, 'variation_id' => $variation_id, 'variation' => $variation, 'quantity' => $quantity, 'offered_price' => $offered_price, 'data' => $product_data, 'data_hash' => wc_get_cart_item_data_hash($product_data), ) ), $quote_item_key ); -
/** * Filter wc_quote_add_item_data */ apply_filters( 'wc_quote_add_item_data', $quote_item_data, $product_id, $variation_id, $quantity, $form_data ); -
/** * Action wc_quote_add_to_quote */ do_action( 'wc_quote_add_to_quote', $quote_item_key, $product_id, $quantity, $variation_id, $variation, $quote_item_data ); -
/** * Action wc_quote_admin_css */ do_action( 'wc_quote_admin_css' ); -
/** * Action wc_quote_after_build_quote */ do_action( 'wc_quote_after_build_quote' ); -
/** * Action wc_quote_after_mini_quote */ do_action( 'wc_quote_after_mini_quote' ); -
/** * Action wc_quote_after_quote */ do_action( 'wc_quote_after_quote' ); -
/** * Action wc_quote_after_quote_item_name */ do_action( 'wc_quote_after_quote_item_name', $quote_item, $quote_item_key ); -
/** * Action wc_quote_after_settings_$this->current_tab */ do_action( "wc_quote_after_settings_{$this->current_tab}" ); -
/** * Action wc_quote_before_email_customer_details */ do_action( 'wc_quote_before_email_customer_details' ); -
/** * Filter wc_quote_before_email_quote_contents */ do_action( 'wc_quote_before_email_quote_contents' ); -
/** * Action wc_quote_before_mini_quote */ do_action( 'wc_quote_before_mini_quote' ); -
/** * Action wc_quote_before_mini_quote_contents */ do_action( 'wc_quote_before_mini_quote_contents' ); -
/** * Action wc_quote_before_quote */ do_action( 'wc_quote_before_quote' ); -
/** * Action wc_quote_before_settings_ */ do_action( "wc_quote_before_settings_{$this->current_tab}" ); -
/** * Filter wc_quote_cart_item_name */ apply_filters( 'wc_quote_cart_item_name', $product_name, $quote_item, $quote_item_key ); -
/** * Filter wc_quote_cart_item_permalink */ apply_filters( 'wc_quote_cart_item_permalink', $_product->is_visible() ? $_product->get_permalink($quote_item) : '', $quote_item, $quote_item_key ); -
/** * Filter wc_quote_cart_item_product */ apply_filters( 'wc_quote_cart_item_product', $quote_item['data'], $quote_item, $quote_item_key ); -
/** * Filter wc_quote_cart_item_product_id */ apply_filters( 'wc_quote_cart_item_product_id', $quote_item['product_id'], $quote_item, $quote_item_key ); -
/** * Filter wc_quote_cart_item_remove_link */ apply_filters( 'wc_quote_cart_item_remove_link', sprintf( '<a href="%s" class="wc-quote-remove remove_from_quote_button" aria-label="%s" data-product_id="%s" data-cart_item_key="%s" data-product_sku="%s">×</a>', esc_url(''), esc_attr__('Remove this item', 'woo-add-to-quote'), esc_attr($product_id), esc_attr($quote_item_key), esc_attr($_product->get_sku()) ), $quote_item_key ); -
/** * Filter wc_quote_cart_item_thumbnail */ apply_filters( 'wc_quote_cart_item_thumbnail', $_product->get_image(), $quote_item, $quote_item_key ); -
/** * Action wc_quote_contents */ do_action( 'wc_quote_contents' ); -
/** * Filter wc_quote_contents_changed */ apply_filters( 'wc_quote_contents_changed', $this->quote_contents ); -
/** * Action wc_quote_contents_updated */ do_action( 'wc_quote_contents_updated', $post_id ); -
/** * Action wc_quote_created */ do_action( 'wc_quote_created', $quote_id ); -
/** * Action wc_quote_details_after_quote_table */ do_action( 'wc_quote_details_after_quote_table', $post ); -
/** * Action wc_quote_details_after_quote_table_items */ do_action( 'wc_quote_details_after_quote_table_items', $post ); -
/** * Action wc_quote_details_before_quote_table */ do_action( 'wc_quote_details_before_quote_table', $post ); -
/** * Action wc_quote_details_before_quote_table_items */ do_action( 'wc_quote_details_before_quote_table_items', $post ); -
/** * Filter wc_quote_email_styles */ apply_filters( 'wc_quote_email_styles', ob_get_clean(), $this ); -
/** * Action wc_quote_emogrifier */ do_action( 'wc_quote_emogrifier', $emogrifier, $this ); -
/** * Filter wc_quote_id */ apply_filters( 'wc_quote_id', md5(implode('_', $id_parts)), $product_id, $variation_id, $variation, $quote_item_data ); -
/** * Action wc_quote_item_meta_end */ do_action( 'wc_quote_item_meta_end', $item_id, $item, $post, false ); -
/** * Action wc_quote_item_meta_start */ do_action( 'wc_quote_item_meta_start', $item_id, $item, $post, false ); -
/** * Filter wc_quote_item_quantity_html */ apply_filters( 'wc_quote_item_quantity_html', ' <strong class="product-quantity">' . sprintf(' %s', $qty_display) . '</strong>', $quote_item ); -
/** * Filter wc_quote_item_subtotal */ apply_filters( 'wc_quote_item_subtotal', $wc_quote->get_product_subtotal($_product, $quote_item['quantity'], $args), $quote_item, $quote_item_key ); -
/** * Action wc_quote_mini_quote_contents */ do_action( 'wc_quote_mini_quote_contents' ); -
/** * Filter wc_quote_mini_quote_item_class */ apply_filters( 'wc_quote_mini_quote_item_class', 'mini_quote_item', $quote_item, $quote_item_key ); -
/** * Action wc_quote_page_css */ do_action( 'wc_quote_page_css' ); -
/** * Action wc_quote_page_js */ do_action( 'wc_quote_page_js' ); -
/** * Action wc_quote_posttype_js */ do_action( 'wc_quote_posttype_js' ); -
/** * Filter message about more than 1 product being added to quote. */ apply_filters( 'wc_quote_product_cannot_add_another_message', $message, $product_data ); -
/** * Filter message about product unable to be purchased. */ apply_filters( 'wc_quote_product_cannot_be_purchased_message', $message, $product_data ); -
/** * Filter wc_quote_product_price */ apply_filters( 'wc_quote_product_price', wc_price($product_price) . ' ' . $price_suffix, $product ); -
/** * Filter wc_quote_quantity */ apply_filters( 'wc_quote_quantity', $quantity, $product_id ); -
/** * Filter wc_quote_register_post_statuses */ apply_filters( 'wc_quote_register_post_statuses', array( 'quote_draft' => array( 'label' => _x('Draft', 'Quote status', 'woo-add-to-quote'), 'public' => true, 'exclude_from_search' => false, 'show_in_admin_all_list' => true, 'show_in_admin_status_list' => true, 'label_count' => _n_noop('Draft <span class="count">(%s)</span>', 'Draft <span class="count">(%s)</span>', 'woo-add-to-quote'), ), 'quote_new' => array( 'label' => _x('unread', 'Quote s... ); -
/** * Filter wc_quote_register_post_type */ apply_filters( 'wc_quote_register_post_type', array( 'labels' => array( 'name' => __('Quotes', 'woo-add-to-quote'), 'singular_name' => _x('Quote', 'wc-quote post type singular name', 'woo-add-to-quote'), 'all_items' => $quote_count ? __('Quotes', 'woo-add-to-quote') . ' <span class="awaiting-mod count-' . esc_attr($quote_count) . '"><span class="new-count">' . number_format_i18n($quote_count) . '</span></span>' : __('Quotes', 'woo-add-to-q... ); -
/** * Action wc_quote_remove_quote_item */ do_action( 'wc_quote_remove_quote_item', $quote_item_key, $this ); -
/** * Filter wc_quote_rules_register_post_type */ apply_filters( 'wc_quote_rules_register_post_type', array( 'labels' => array( 'name' => sprintf( __( 'Rules %s', 'woo-add-to-quote' ), '<span style="color: #D63638;font-weight: 600;">(Pro)</span>' ), ), 'show_ui' => true, 'show_in_menu' => 'woo-add-to-quote', ) ); -
/** * Action wc_quote_sections_$this->current_tab */ do_action( "wc_quote_sections_{$this->current_tab}" ); -
/** * Action wc_quote_settings_$this->current_tab */ do_action( "wc_quote_settings_{$this->current_tab}" ); -
/** * Filter wc_quote_settings_form_method_tab_$this->current_tab */ apply_filters( "wc_quote_settings_form_method_tab_{$this->current_tab}", 'post' ); -
/** * Action wc_quote_settings_js */ do_action( 'wc_quote_settings_js' ); -
/** * Filter wc_quote_settings_tab_path */ apply_filters( 'wc_quote_settings_tab_path', WATQ_QUOTE_PATH . '/includes/admin/views/settings/tabs/html-quote-lite-' . $this->current_tab . '.php' ); -
/** * Action wc_quote_settings_tabs */ do_action( 'wc_quote_settings_tabs' ); -
/** * Filter wc_quote_sold_individually_found_in_quote */ apply_filters( 'wc_quote_sold_individually_found_in_quote', $quote_item_key && $this->quote_contents[ $quote_item_key ]['quantity'] > 0, $product_id, $variation_id, $quote_item_data, $quote_id ); -
/** * Filter wc_quote_sold_individually_quantity */ apply_filters( 'wc_quote_sold_individually_quantity', 1, $quantity, $product_id, $variation_id, $quote_item_data ); -
/** * Action wc_quote_status_updated */ do_action( 'wc_quote_status_updated', $post_id, $form_data['post_status'], $old_status ); -
/** * Filter wc_quote_subtotal */ apply_filters( 'wc_quote_subtotal', $quote_subtotal, $this->quote_contents ); -
/** * Filter wc_quote_total */ apply_filters( 'wc_quote_total', $quote_total, $this->quote_contents ); -
/** * Filter wc_quote_widget_cart_item_quantity */ apply_filters( 'wc_quote_widget_cart_item_quantity', '<span class="quantity">' . sprintf('%s × %s', $quote_item['quantity'], $price_html) . '</span>', $quote_item, $quote_item_key ); -
/** * Filter wc_quote_widget_cart_item_visible */ apply_filters( 'wc_quote_widget_cart_item_visible', true, $quote_item, $quote_item_key ); -
/** * Action wc_quote_widget_shopping_quote_after_buttons */ do_action( 'wc_quote_widget_shopping_quote_after_buttons' ); -
/** * Action wc_quote_widget_shopping_quote_before_buttons */ do_action( 'wc_quote_widget_shopping_quote_before_buttons' ); -
/** * Action wc_quote_widget_shopping_quote_buttons */ do_action( 'wc_quote_widget_shopping_quote_buttons' ); -
/** * Hook: woocommerce_after_single_variation. */ do_action( 'woocommerce_after_single_variation' ); -
/** * Hook: woocommerce_before_single_variation. */ do_action( 'woocommerce_before_single_variation' ); -
/** * Hook: woocommerce_single_variation. Used to output the cart button and * placeholder for variation data. */ do_action( 'woocommerce_single_variation' ); -
/** * Action woocommerce_single_variation_add_to_cart_button */ do_action( 'woocommerce_single_variation_add_to_cart_button' ); -
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
apply_filters( 'watq_email_field_popup_guest', esc_html__( 'Write comma separated email addresses.', 'woo-add-to-quote' ) ); -
apply_filters( 'wc_quote_plugin_name', __('Woo Quote Lite', 'woo-add-to-quote') ); -
apply_filters( 'wc_quote_settings_title', __('Settings', 'woo-add-to-quote') ); -
do_action( 'woocommerce_after_variations_form' ); -
do_action( 'woocommerce_after_variations_table' ); -
apply_filters( 'woocommerce_ajax_variation_threshold', 30, $product ); -
do_action( 'woocommerce_before_variations_form' ); -
apply_filters( 'woocommerce_out_of_stock_message', __( 'This product is currently out of stock and unavailable.', 'woocommerce' ) );
Generated from B2B Request a Quote's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: