UpsellWP 2.2.10 has 36 actions and 157 filters, read directly from its source code on Nov 18, 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 UpsellWP fires an action
add_action( 'cuw_campaign_deleted', function( $id, $campaign ) {
// Your code runs here.
}, 10, 2 );
// Change a value UpsellWP is about to use
add_filter( 'cuw_offer_template_product_quantity', function( $value, $offer ) {
// Change $value here.
return $value;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
apply_filters( 'cuw_offer_template_product_quantity', '', $offer ); -
apply_filters( 'cuw_offer_template_product_variants', '', $offer ); -
apply_filters( 'cuw_fbt_template_savings', '', $product, $data, 'static' ); -
apply_filters( 'cuw_fbt_products_heading', $heading ); -
apply_filters( 'cuw_fbt_template_product_variants', '', $product, [ 'variant_select_name' => 'products[' . esc_attr($key) . '][variation_id]', 'attribute_select_name' => 'products[' . esc_attr($key) . '][variation_attributes]', ] ); -
apply_filters( 'cuw_show_upsell_item_text', true, 'offer', 'cart_item' ); -
apply_filters( 'woocommerce_variation_option_name', $term->name, $term, $attribute, $product_object ); -
apply_filters( 'cuw_convert_price', $discount['value'], 'fixed_price' ); -
apply_filters( 'cuw_product_image_attributes', [], $product ); -
apply_filters( 'active_plugins', get_option('active_plugins', []) ); -
do_action( 'cuw_campaign_deleted', $id, $campaign ); -
apply_filters( 'cuw_cart_item_check_quantity_for_product', true, $data['product']['qty'], $data, $cart_item, false ); -
apply_filters( 'cuw_cart_item_discount_price', $data['price'], $cart_item, $data ); -
apply_filters( 'cuw_fbt_template_choose_variants_modal', '', $products, $data ); -
apply_filters( 'cuw_stats_failed_order_status', ['cancelled', 'failed', 'checkout-draft', 'refunded'] ); -
advanced_woo_discount_rules_get_product_discount_price_from_custom_price
filter Used by 13 plugins → Copy link Customise this hookapply_filters( 'advanced_woo_discount_rules_get_product_discount_price_from_custom_price', false, $product, 1, 0, 'discounted_price', true, ($context == 'cart') ); -
do_action( "cuw_{$slug}_addon_actions", $addon ); -
apply_filters( "cuw_{$type}_campaigns_is_enabled", in_array($type, self::$active_campaigns) ); -
apply_filters( 'cuw_action_display_locations', [], $campaign_type ); -
apply_filters( 'cuw_add_product_to_cart_allowed_product_ids', [], $campaign, $page ); -
do_action( 'cuw_additional_contents', $campaign_type, $campaign ); -
apply_filters( 'cuw_advanced_redirect_options', ['fbt', 'thankyou_upsells'] ); -
do_action( 'cuw_after_campaign_contents', $campaign_type, $campaign ); -
do_action( 'cuw_after_campaign_page', $campaign_type, $campaign ); -
do_action( 'cuw_after_campaigns_setting_tab', $settings ); -
do_action( 'cuw_after_campaigns_settings', $settings ); -
do_action( 'cuw_after_init' ); -
do_action( 'cuw_after_offer_tab_contents', $campaign_type, $campaign ); -
do_action( 'cuw_after_offer_tabs', $campaign_type, $campaign ); -
do_action( 'cuw_after_settings', $settings ); -
do_action( 'cuw_after_settings_tab_contents', $settings ); -
do_action( 'cuw_after_settings_tabs', $settings ); -
do_action( 'cuw_after_template_cta_input', $campaign ); -
apply_filters( 'cuw_ajax_auth_request_handlers', [ 'enable_campaign' => [__CLASS__, 'enableCampaign'], 'duplicate_campaign' => [__CLASS__, 'duplicateCampaign'], 'delete_campaign' => [__CLASS__, 'deleteCampaign'], 'bulk_actions' => [__CLASS__, 'bulkActions'], 'list_products' => [__CLASS__, 'listProducts'], 'list_taxonomies' => [__CLASS__, 'listTaxonomies'], 'list_coupons' => [__CLASS__, 'listCoupons'], 'save_campaign' => [__CLASS__, 'saveCampa... ); -
apply_filters( 'cuw_ajax_guest_request_handlers', [ 'get_offer_image' => [__CLASS__, 'getOfferImage'], 'add_offer_to_cart' => [__CLASS__, 'addOfferToCart'], 'perform_action' => [__CLASS__, 'performAction'], 'add_product_to_cart' => [__CLASS__, 'addProductToCart'], 'remove_item_from_cart' => [__CLASS__, 'removeItemFromCart'], 'change_cart_item_variant' => [__CLASS__, 'changeCartItemVariant'], 'get_all_offers_html' => [__CLASS__, 'getAllOffersHt... ); -
apply_filters( 'cuw_ajax_search_limit', 20 ); -
apply_filters( 'cuw_allowed_html_elements_and_attributes', [ 'b' => [], 'br' => [], 'em' => [], 'i' => [], 'strong' => [], 'u' => [], ] ); -
do_action( 'cuw_before_campaign_contents', $campaign_type, $campaign ); -
do_action( 'cuw_before_campaign_page_load', $campaign_type, $campaign_id ); -
do_action( 'cuw_before_campaigns_settings', $settings ); -
do_action( 'cuw_before_init' ); -
do_action( 'cuw_before_page', $page, $current_tab ); -
do_action( 'cuw_before_settings', $settings ); -
do_action( 'cuw_before_settings_tab_contents', $settings ); -
do_action( 'cuw_before_settings_tabs', $settings ); -
apply_filters( 'cuw_cache_cart_upsell_offers_data', $cache, $location ); -
apply_filters( 'cuw_cache_checkout_upsell_offers_data', $cache, $location ); -
do_action( 'cuw_campaign_after_change_quantity_section', $campaign, $products_data ); -
do_action( 'cuw_campaign_before_deleted', $id, $campaign ); -
do_action( 'cuw_campaign_contents', $campaign_type, $campaign ); -
apply_filters( 'cuw_campaign_data', [ 'id' => $id, 'type' => $type, 'title' => '', 'enabled' => 1, 'priority' => '', 'offers' => [], 'filters' => [floor(microtime(true) * 1000) => ['type' => 'all_products']], 'conditions' => [], 'data' => ['display_method' => 'random'], ] ); -
apply_filters( 'cuw_campaign_data_before_duplicate', $campaign ); -
apply_filters( 'cuw_campaign_data_before_save', $sanitized_data ); -
apply_filters( 'cuw_campaign_default_display_locations', [ 'checkout_upsells_display_location' => 'woocommerce_review_order_before_payment', 'cart_upsells_display_location' => 'woocommerce_before_cart', 'cart_upsells_display_location_on_mini_cart' => 'do_not_display', 'fbt_display_location' => 'woocommerce_after_single_product_summary', 'noc_display_location' => 'woocommerce_before_thankyou', 'noc_display_location_on_email' => 'woocommerce_email_afte... ); -
do_action( 'cuw_campaign_enabled', $id, $enabled ); -
apply_filters( 'cuw_campaign_filter_slider', ['fbt', 'product_addons', 'cart_addons'] ); -
apply_filters( 'cuw_campaign_notices', [], $type, $id ); -
do_action( 'cuw_campaign_save_failed', $sanitized_data ); -
do_action( 'cuw_campaign_saved', $id, $campaign ); -
do_action( 'cuw_campaign_side_contents', $campaign_type, $campaign ); -
do_action( 'cuw_campaign_template_edit_advanced_fields', $campaign ); -
apply_filters( 'cuw_campaign_usage_count_based_on_current_user', false, $campaign, $data ); -
apply_filters( 'cuw_campaigns', [ 'checkout_upsells' => [ 'title' => __("Checkout Upsells", 'checkout-upsell-and-order-bumps'), 'description' => __("Choose this type to show the upsell offers on the checkout page (before customer places the order)", 'checkout-upsell-and-order-bumps'), 'handler' => new Campaigns\CheckoutUpsells(), 'categories' => ['checkout'], 'is_single' => false, 'is_in_beta' => false, 'is_pro' => false, ], ... ); -
apply_filters( 'cuw_campaigns_per_page', $campaigns_per_page ); -
apply_filters( 'cuw_cart_item_check_quantity_for_offer', true, $offer['product']['qty'], $offer, $cart_item, false ); -
apply_filters( 'cuw_cart_item_discount_label', $label ); -
apply_filters( 'cuw_cart_item_discount_price_html', $price_html, $cart_item, $data ); -
apply_filters( 'cuw_cart_item_discount_text', $text, $cart_item, $data ); -
apply_filters( 'cuw_cart_item_offer_label', $label ); -
apply_filters( 'cuw_cart_item_offer_price', $offer['price'], $cart_item, $offer ); -
apply_filters( 'cuw_cart_item_offer_price_html', $price_html, $cart_item, $offer ); -
apply_filters( 'cuw_cart_item_offer_text', $text, $cart_item, $offer ); -
apply_filters( 'cuw_cart_offer_campaign_types', ['checkout_upsells', 'cart_upsells'] ); -
apply_filters( 'cuw_cart_upsell_after_shipping_notice', esc_html__( "The 'After Shipping' location has been deprecated in the latest version of WooCommerce.", 'checkout-upsell-and-order-bumps' ) ); -
apply_filters( 'cuw_cart_upsell_offer_display_locations', [ 'woocommerce_before_cart' => esc_html__("Top of the Cart page", 'checkout-upsell-and-order-bumps'), 'woocommerce_before_cart_table' => esc_html__("Before Cart items table", 'checkout-upsell-and-order-bumps'), 'woocommerce_after_cart_table' => esc_html__("After Cart items table", 'checkout-upsell-and-order-bumps'), 'woocommerce_cart_contents' => esc_html__("After Cart items (within the table)"... ); -
apply_filters( 'cuw_cart_upsell_offer_display_locations_on_mini_cart', [] ); -
apply_filters( 'cuw_cart_upsell_offers_data', self::$offers ); -
apply_filters( 'cuw_cart_upsell_offers_html', $html, $location ); -
apply_filters( 'cuw_check_cart_existing_quantity', $check_cart_existing_quantity, $product, $quantity ); -
apply_filters( 'cuw_check_existing_cart_quantity_supported_campaign_types', ['double_order'] ); -
apply_filters( 'cuw_checkout_upsell_offer_display_locations', [ 'woocommerce_review_order_before_payment' => esc_html__("Before Payment Gateways", 'checkout-upsell-and-order-bumps'), 'woocommerce_review_order_after_payment' => esc_html__("Bottom of the Checkout Page", 'checkout-upsell-and-order-bumps'), 'woocommerce_review_order_before_submit' => esc_html__("Before Place Order Button", 'checkout-upsell-and-order-bumps'), 'woocommerce_review_order_after_su... ); -
apply_filters( 'cuw_checkout_upsell_offers_data', self::$offers ); -
apply_filters( 'cuw_checkout_upsell_offers_html', $html, $location ); -
apply_filters( 'cuw_compatibilities', [ 'wdr_v2' => [ 'name' => 'Discount Rules for WooCommerce', 'type' => 'plugin', 'file' => 'woo-discount-rules/woo-discount-rules.php', 'author' => 'Flycart', 'handler' => new Compatibilities\WDRv2(), ], 'wcs' => [ 'name' => 'WooCommerce Subscriptions', 'type' => 'plugin', 'file' => 'woocommerce-subscriptions/woocommerce-subscriptions.php', 'author' => 'WooCommerce', 'handler' => new Compatibili... ); -
apply_filters( 'cuw_condition_is_passed', $is_passed, $condition, $data ); -
apply_filters( 'cuw_conditions', $conditions ); -
do_action( 'cuw_core_migrated', $plugin_version ); -
apply_filters( 'cuw_coupon_base_url', (!empty($base_url) ? $base_url : home_url()) ); -
apply_filters( 'cuw_default_product_variant', $default_variant, $data['variants'], $product ); -
apply_filters( 'cuw_default_settings', [ 'show_product_details' => 'disable', 'calculate_discount_from' => 'regular_price', 'exclude_coupon_discounts' => '', 'smart_products_display' => '', 'dynamic_offer_display' => '', 'offer_add_limit' => '', 'offer_display_mode' => 'first_matched', 'offer_added_notice_message' => 'Offer applied successfully.', 'offer_notice_display_location' => 'default', 'always_display_offer' => '', 'fbt_produ... ); -
apply_filters( 'cuw_default_template', $default_template, $campaign_type ); -
apply_filters( 'cuw_discount_price_html', $price_html, $product, $discount, $tax_based_on, $regular_price, $price ); -
apply_filters( 'cuw_discount_text', $text, $product, $discount, $display_in ); -
apply_filters( 'cuw_do_replace_cart_item', true ); -
apply_filters( 'cuw_edit_campaign_advanced_section', ['fbt', 'thankyou_upsells', 'noc'] ); -
apply_filters( 'cuw_exclude_product_types', ['bundlewp_fixed_bundle', 'bundlewp_mix_and_match_bundle'] ); -
apply_filters( 'cuw_failed_order_status', array('wc-cancelled', 'wc-refunded', 'wc-failed') ); -
apply_filters( 'cuw_fbt_campaign_db_columns', ['id', 'title', 'type', 'filters', 'data'] ); -
apply_filters( 'cuw_fbt_product_ids_to_display', array_unique($ids), $product, $use_products, $campaign ); -
apply_filters( 'cuw_fbt_product_suggestions_cache_expiration_time_in_seconds', (24 * 60 * 60) ); -
do_action( 'cuw_fbt_products_added_to_cart', $results ); -
apply_filters( 'cuw_fbt_products_display_locations', [ 'woocommerce_before_single_product' => esc_html__("Top of the Product page", 'checkout-upsell-and-order-bumps'), 'woocommerce_after_single_product' => esc_html__("Bottom of the Product Page", 'checkout-upsell-and-order-bumps'), 'woocommerce_after_single_product_summary' => esc_html__("After Product summary", 'checkout-upsell-and-order-bumps'), 'woocommerce_after_single_product_summary:1' => e... ); -
do_action( 'cuw_fbt_shortcode' ); -
apply_filters( 'cuw_fbt_show_added_to_cart_message', true ); -
apply_filters( 'cuw_fbt_template_html', Template::getHtml($campaign, $args), $args ); -
apply_filters( 'cuw_filter_cart_products', $product_ids, $original_product_ids, $campaign_type ); -
apply_filters( 'cuw_filter_is_passed', $is_passed, $filter, $data ); -
apply_filters( 'cuw_filters', [ 'all_products' => [ 'name' => __("All Products", 'checkout-upsell-and-order-bumps'), 'group' => __("Product", 'checkout-upsell-and-order-bumps'), 'handler' => new Filters\AllProducts(), 'campaigns' => ['fbt', 'product_addons', 'cart_addons'], ], 'products' => [ 'name' => __("Specific products", 'checkout-upsell-and-order-bumps'), 'group' => __("Product", 'checkout-upsell-and-order-bumps'), 'h... ); -
apply_filters( 'cuw_force_show_fbt_deprecated_tab', false ); -
apply_filters( 'cuw_formatted_variation_info', $variation_name, $variation, $with_attribute_labels ); -
apply_filters( 'cuw_frontend_ajax_request_handlers', [ 'get_offer_image' => [__CLASS__, 'getOfferImage'], 'add_offer_to_cart' => [__CLASS__, 'addOfferToCart'], 'perform_action' => [__CLASS__, 'performAction'], 'add_product_to_cart' => [__CLASS__, 'addProductToCart'], 'remove_item_from_cart' => [__CLASS__, 'removeItemFromCart'], 'change_cart_item_variant' => [__CLASS__, 'changeCartItemVariant'], 'get_all_offers_html' => [__CLASS__, 'getAllOffersHt... ); -
apply_filters( 'cuw_frontend_assets_enqueue_priority', PHP_INT_MAX ); -
apply_filters( 'cuw_frontend_script_data', [ 'ajax_url' => admin_url('admin-ajax.php'), 'ajax_nonce' => WP::createNonce('cuw_frontend_ajax'), 'is_cart' => function_exists('is_cart') && is_cart(), 'is_checkout' => function_exists('is_checkout') && is_checkout(), 'has_cart_block' => function_exists('has_block') && has_block('woocommerce/cart'), 'has_checkout_block' => function_exists('has_block') && has_block('woocommerce/checkout'), 'dyn... ); -
apply_filters( 'cuw_get_cart_data', $data, $cart, $args ); -
apply_filters( 'cuw_get_cart_data_including_added_products', $args['include_added_products'], $cart_item ); -
apply_filters( 'cuw_get_cart_data_including_applied_offers', $args['include_applied_offers'], $cart_item ); -
apply_filters( 'cuw_get_engine', false, $recommendation_engine_id, ['title'] ); -
apply_filters( 'cuw_get_order_data', $data, $order ); -
apply_filters( 'cuw_get_order_data_including_added_products', $include_products, $order_item ); -
apply_filters( 'cuw_get_order_data_including_applied_offers', $include_offers, $order_item ); -
apply_filters( 'cuw_get_product_data', $data, $product, $args ); -
apply_filters( 'cuw_hide_campaign_form', false, $campaign_type, $campaign ); -
apply_filters( 'cuw_hide_free_discount_option_campaign_types', ['thankyou_upsells', 'upsell_popups'] ); -
apply_filters( 'cuw_noc_action_display_locations', [ 'do_not_display' => esc_html__("Do not display", 'checkout-upsell-and-order-bumps'), 'woocommerce_before_thankyou' => esc_html__("Top of the Thankyou page", 'checkout-upsell-and-order-bumps'), 'woocommerce_thankyou' => esc_html__("Bottom of the Thankyou page", 'checkout-upsell-and-order-bumps'), 'woocommerce_order_details_before_order_table' => esc_html__("Before the Order details", 'checkout... ); -
apply_filters( 'cuw_noc_action_display_locations_on_email', [ 'do_not_display' => esc_html__("Do not display", 'checkout-upsell-and-order-bumps'), 'woocommerce_email_before_order_table' => esc_html__("Before the Order details", 'checkout-upsell-and-order-bumps'), 'woocommerce_email_after_order_table' => esc_html__("After the Order details", 'checkout-upsell-and-order-bumps'), ] ); -
apply_filters( 'cuw_noc_action_display_locations_on_myaccount_page', [ 'do_not_display' => esc_html__("Do not display", 'checkout-upsell-and-order-bumps'), 'woocommerce_order_details_before_order_table' => esc_html__("Before the Order details", 'checkout-upsell-and-order-bumps'), 'woocommerce_order_details_after_order_table' => esc_html__("After the Order details", 'checkout-upsell-and-order-bumps'), ] ); -
apply_filters( 'cuw_noc_default_failed_order_status', ['wc-cancelled', 'wc-refunded'] ); -
apply_filters( 'cuw_noc_expire_date_format', WP::getFormat('datetime') ); -
apply_filters( 'cuw_noc_generated_coupon_code', $coupon_code, $campaign ); -
apply_filters( 'cuw_noc_generated_coupon_date_expires', $expire_date, $campaign ); -
apply_filters( 'cuw_noc_generated_coupon_description', $coupon_description, $campaign ); -
apply_filters( 'cuw_noc_generated_coupon_object', $wc_coupon, $campaign, $order ); -
apply_filters( 'cuw_noc_message', $message, $coupon ); -
apply_filters( 'cuw_noc_template_html', $html, $order, $campaign ); -
apply_filters( 'cuw_offer_add_to_cart_error_message', esc_html__("Unable to apply offer.", 'checkout-upsell-and-order-bumps') ); -
apply_filters( 'cuw_offer_add_to_cart_success_message', $success_message ); -
do_action( 'cuw_offer_added_to_cart', $key, $data ); -
apply_filters( 'cuw_offer_display_locations', $locations ); -
apply_filters( 'cuw_offer_display_price_tax_based_on', 'cart', $display_in ); -
apply_filters( 'cuw_offer_item_data', $meta_data, $product, $offer ); -
apply_filters( 'cuw_offer_limit_reached_message', esc_html(sprintf(__("You can add only %s offer(s) at a time.", 'checkout-upsell-and-order-bumps'), $add_limit)) ); -
apply_filters( 'cuw_offer_price', $offer_price, $product, $discount, $product_price ); -
apply_filters( 'cuw_offer_price_html', $price_html, $product, $discount, $display_in, $product_price, $offer_price ); -
apply_filters( 'cuw_offer_processed_data', $offer, $product, $original_data ); -
apply_filters( 'cuw_offer_product_price', $product_price, $product, $discount ); -
apply_filters( 'cuw_offer_reload_page', false, $data['campaign_type'] ?? '' ); -
apply_filters( 'cuw_offer_text', $offer_text, $product, $discount, $display_in ); -
apply_filters( 'cuw_offers_display_locations', [], $campaign_type ); -
apply_filters( 'cuw_offers_display_locations_on_mini_cart', [], $campaign_type ); -
apply_filters( 'cuw_offers_per_campaign', 1, $campaign_type ); -
apply_filters( 'cuw_page_default_query_args', [ 'type' => '', 'page_no' => 1, 'status' => '', 'search' => '', 'order_by' => 'id', 'sort' => 'desc', ] ); -
apply_filters( 'cuw_page_default_tab', 'dashboard' ); -
apply_filters( 'cuw_page_localize_campaign_data', $data, $campaign_type ); -
apply_filters( 'cuw_page_localize_engine_data', $data ); -
apply_filters( 'cuw_page_removable_third_party_assets', ['bootstrap', 'select2', 'selectWoo'] ); -
apply_filters( 'cuw_page_tabs', $tabs ); -
apply_filters( 'cuw_perform_action', [], $campaign, $params ); -
cuw_perform_order_query_based_on_current_user_id_and_billing_email
filter Copy link Customise this hookapply_filters( 'cuw_perform_order_query_based_on_current_user_id_and_billing_email', false ); -
apply_filters( 'cuw_preview_html_campaign_types', ['fbt', 'thankyou_upsells', 'upsell_popups', 'product_addons', 'cart_addons', 'product_recommendations'] ); -
apply_filters( 'cuw_process_offer_data_before_save', $offer['data'], $sanitized_data ); -
apply_filters( 'cuw_product_image_size', 'medium' ); -
apply_filters( 'cuw_product_item_data', $meta_data, $product, $campaign ); -
apply_filters( 'cuw_product_price', (float)$price, $product, $from ); -
apply_filters( 'cuw_product_price_html', $price_html, $product, $tax_based_on, $regular_price, $price ); -
apply_filters( 'cuw_product_regular_price', $data['regular_price'], $product, $args ); -
apply_filters( 'cuw_product_sale_price', $data['price'], $product, $args ); -
apply_filters( 'cuw_product_variation_attributes', $variation, $variation_product ); -
apply_filters( 'cuw_recheck_cart_conditions', true, $campaign ); -
apply_filters( 'cuw_remove_applied_offers_when_cart_contains_no_other_products', true ); -
apply_filters( 'cuw_reports_sync_limit', 50 ); -
do_action( 'cuw_save_settings', $data, self::app()->config ); -
apply_filters( 'cuw_schedules', [ 'send_weekly_report' => [ 'title' => __('Send weekly reports', 'checkout-upsell-and-order-bumps'), 'recurrence' => 'weekly', 'day' => 'next monday', 'at' => '10:00:00', 'callback' => [__CLASS__, 'sendWeeklyReport'], 'active' => true, ], ] ); -
apply_filters( 'cuw_settings_default_tab', 'campaigns' ); -
apply_filters( 'cuw_shortcodes', [ 'cart_upsells' => [ 'title' => __('Cart upsell offers', 'checkout-upsell-and-order-bumps'), 'description' => __('To show Cart Upsell offers on the cart page', 'checkout-upsell-and-order-bumps'), 'group' => __("Cart page", 'checkout-upsell-and-order-bumps'), 'callback' => [__CLASS__, 'cartUpsellOffers'], ], 'checkout_upsells' => [ 'title' => __('Checkout upsell offers', 'checkout-upsell-and-or... ); -
apply_filters( 'cuw_show_product_description_in_popup', true ); -
apply_filters( 'cuw_show_upsell_products_data_tab', false, $post->ID ); -
apply_filters( 'cuw_show_variation_info_with_attribute_labels', $with_attribute_labels, $variation ); -
apply_filters( 'cuw_stop_cart_upsells_offer_count_increasing', false, $offer_id ); -
apply_filters( 'cuw_stop_checkout_upsells_offer_count_increasing', false ); -
apply_filters( 'cuw_success_order_status', array('wc-pending', 'wc-processing', 'wc-on-hold', 'wc-completed') ); -
apply_filters( 'cuw_template', $this->fn->renderTemplate($file, $data), $file_or_path, $data ); -
apply_filters( 'cuw_template_preview_html', str_replace(['<form', '</form>'], ['<div', '</div>'], self::getHtml($campaign, $extra_data)), $campaign ); -
apply_filters( 'cuw_template_processed_data', $data, $campaign, $original_data ); -
apply_filters( 'cuw_templates', [ 'offer/template-1' => [ 'title' => '{discount} offer', 'description' => 'Hey there, you can get this offer by just clicking the checkbox below to add this offer to your order, you will never get such a discount on any other place on this site.', 'cta_text' => 'Get this exclusive offer now!', 'image_id' => 0, 'styles' => [ 'template' => ['border-width' => 'medium', 'border-style' => 'dashed', ... ); -
apply_filters( 'cuw_upsell_offers_block_script_data', [] ); -
do_action( 'cuw_upsells_product_data_panel', $post ); -
apply_filters( 'cuw_validate_campaign', $errors, $data ); -
apply_filters( 'cuw_validate_offer', $errors, $data ); -
apply_filters( 'cuw_validate_offer_product_on_save', $check_product, $data ); -
apply_filters( 'wcml_client_currency', null ); -
apply_filters( 'wcml_raw_price_amount', $price ); -
woocommerce_product_variation_title_attributes_separator
filter Used by 11 plugins → Copy link Customise this hookapply_filters( 'woocommerce_product_variation_title_attributes_separator', ' - ', $product ); -
apply_filters( 'wpml_active_languages', [], 'orderby=id&order=desc' );
Generated from UpsellWP'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: