Discount Rules and Dynamic Pricing for WooCommerce 9.5.1 has 40 actions and 197 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Discount Rules and Dynamic Pricing for WooCommerce fires an action
add_action( 'woocommerce_no_products_found', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Discount Rules and Dynamic Pricing for WooCommerce is about to use
add_filter( 'wccs_auto_add_products_not_enough_stock_message', function( $message, $product, $stock_quantity ) {
// Change $message here.
return $message;
}, 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
-
/** * woocommerce_no_products_found hook. */ do_action( 'woocommerce_no_products_found' ); -
/** * Filters message about product not having enough stock. */ apply_filters( 'wccs_auto_add_products_not_enough_stock_message', $message, $product, $stock_quantity ); -
/** * Filters message about product being out of stock. */ apply_filters( 'wccs_auto_add_products_out_of_stock_message', $message, $product ); -
woocommerce_after_shop_loop
action/** * woocommerce_after_shop_loop hook. */ do_action( 'woocommerce_after_shop_loop' ); -
woocommerce_before_shop_loop
action/** * woocommerce_before_shop_loop hook. */ do_action( 'woocommerce_before_shop_loop' ); -
wccs_cart_item_line_subtotal
filterapply_filters( 'wccs_cart_item_line_subtotal', $cart_item['line_subtotal'], $cart_item ); -
do_action( 'wccs_public_product_pricing_after_get_price_html', $this, $price ); -
apply_filters( 'wccs_product_price_replace_should_replace', false, $price, $product, $price_type, $this ); -
apply_filters( "wccs_auto_add_products_{__FUNCTION__}", true ); -
apply_filters( 'wccs_cart_item_line_subtotal_tax', $cart_item['line_subtotal_tax'], $cart_item ); -
apply_filters( "wccs_public_cart_item_pricing_{__FUNCTION__}", false, $this ); -
apply_filters( 'wc_epo_option_price_correction', $cart_item['tm_epo_options_prices'], $cart_item ); -
apply_filters( 'wccs_product_pricing_variable_display_regular_price', $display_price, $min_price, $max_price, $this->product, $this ); -
apply_filters( "wccs_public_product_pricing_{__FUNCTION__}", $bulk, $this->product, $price ); -
yith_wapo_adjust_price
filterapply_filters( 'yith_wapo_adjust_price', true, $cart_item ); -
apply_filters( 'wccs_product_pricing_discount_value_html', '' ); -
apply_filters( 'wccs_cart_item_pricing_purchase_discounts', array() ); -
apply_filters( 'wccs_cart_item_pricing_simple_pricings', array() ); -
apply_filters( 'wccs_cart_total_discounts_html_prefix', '-' ); -
wccs_is_cart_discount_coupon
filterapply_filters( 'wccs_is_cart_discount_coupon', true, $coupon_code ); -
apply_filters( 'wccs_product_price_replace_replace_price', $price, $price, $product, $price_type ); -
apply_filters( 'wccs_product_pricing_display_regular_price', wc_get_price_to_display( $this->product, $this->product->is_on_sale( 'edit' ) ? array( 'price' => $this->product->get_regular_price() ) : array() ), $this->product, $this ); -
apply_filters( 'wccs_product_pricing_variable_regular_prices', array( 'min' => reset( $prices['regular_price'] ), 'max' => end( $prices['regular_price'] ), ), $this->product, $this ); -
wccs_quantity_table_discount
filterapply_filters( 'wccs_quantity_table_discount', $view_args['controller']->get_discount_value_html( $discount['discount'], $discount['discount_type'] ), $view_args ); -
wccs_quantity_table_price
filterapply_filters( 'wccs_quantity_table_price', $view_args['controller']->get_discounted_price( $discount['discount'], $discount['discount_type'] ), $view_args ); -
apply_filters( 'wccs_shipping_method_get_total_quantities_cost', 0, $package, $rule, $this ); -
apply_filters( 'wccs_shipping_method_get_total_weights_cost', 0, $package, $rule, $this ); -
apply_filters( "{$this->identifier}_cron_interval", 5 ); -
apply_filters( 'asnp_wccs_total_discounts_process_cart_item', true, $cart_item ); -
wccs_add_free_gift_badge
filterapply_filters( 'wccs_add_free_gift_badge', true, $cart_item ); -
apply_filters( 'wccs_background_price_updater_chunk_size', 20 ); -
wccs_badge_cache_ttl
filterapply_filters( 'wccs_badge_cache_ttl', $ttl, $product ); -
apply_filters( 'wccs_cart_discount_get_coupon_data', array( 'id' => self::COUPON_ID, 'code' => $coupon_code, 'amount' => $amount, ) ); -
apply_filters( 'wccs_cart_item_before_discounted_price', WC()->cart->get_product_price( $cart_item['data'] ), $cart_item, $product ); -
apply_filters( 'wccs_cart_item_main_display_price', wc_get_price_to_display( $cart_item['data'], array( 'price' => $cart_item['data']->get_price( 'edit' ), 'display_context' => 'cart' ) ), $cart_item, $product ); -
wccs_cart_item_main_price
filterapply_filters( 'wccs_cart_item_main_price', $cart_item['data']->get_price( 'edit' ), $cart_item, $product ); -
wccs_cart_item_price
filterapply_filters( 'wccs_cart_item_price', $content, $price, $cart_item, $cart_item_key ); -
apply_filters( 'wccs_cart_item_price_before_discounted_price', WCCS()->cart->get_product_price( $cart_item['data'], array( 'price' => $cart_item['data']->get_regular_price(), 'qty' => 1 ) ), $cart_item, $cart_item_key, $price ); -
apply_filters( 'wccs_cart_item_pricing_bulk_discounts', array() ); -
apply_filters( 'wccs_cart_item_pricing_bulk_pricings', array() ); -
apply_filters( 'wccs_cart_item_pricing_purchase_pricings', array() ); -
apply_filters( 'wccs_cart_item_pricing_simple_discounts', array() ); -
apply_filters( 'wccs_get_bulk_price_html_display_price', WCCS()->product_helpers->wc_get_price_to_display( $this->product ), $this->product, $price, $this ); -
wccs_get_manual_coupon
filterapply_filters( 'wccs_get_manual_coupon', $this->get_discount_data( $discount ), $coupon_code ); -
apply_filters( 'wccs_get_shipping_package_contents_count', 0, $package ); -
apply_filters( 'wccs_get_shipping_package_item_quantities', array(), $package ); -
apply_filters( 'wccs_get_shipping_package_weight', 0, $package ); -
apply_filters( 'wccs_percentage_badge_enabled', false ); -
wccs_pricing_bulks
filterapply_filters( 'wccs_pricing_bulks', $this->cache['bulk'], $this ); -
wccs_pricing_purchases
filterapply_filters( 'wccs_pricing_purchases', $this->cache['purchase'], $this ); -
wccs_pricing_simples
filterapply_filters( 'wccs_pricing_simples', $this->cache['simple'], $this ); -
apply_filters( 'wccs_product_pricing_get_price_html', $discounted_price, $this->product, $price ); -
do_action( 'wccs_public_cart_item_pricing_after_get_price', $this ); -
do_action( 'wccs_public_product_pricing_before_get_price_html', $this, $price ); -
apply_filters( 'wccs_public_product_pricing_get_price_html_max_variation_price', end( $product_discounted_price['price'] ), key( $product_discounted_price['price'] ), $price, $this ); -
apply_filters( 'wccs_public_product_pricing_get_price_html_min_variation_price', reset( $product_discounted_price['price'] ), key( $product_discounted_price['price'] ), $price, $this ); -
apply_filters( "wccs_purchase_{$message_type}", $message, $pricing, $this ); -
wccs_quantity_table_quantity
filterapply_filters( 'wccs_quantity_table_quantity', $discount['min'] . ( ! empty( $discount['max'] ) ? ( $discount['min'] != $discount['max'] ? ' - ' . $discount['max'] : '' ) : ' +' ) ); -
apply_filters( 'wccs_sale_flash_discount_value', $html, $discount, $product, $post ); -
apply_filters( 'wccs_sale_flash_negative_symbol', '<span class="wccs-sale-flash-negative-symbol">-</span>' ); -
apply_filters( 'wccs_sale_flash_percentage_symbol', '<span class="wccs-sale-flash-percentage-symbol">%</span>' ); -
apply_filters( 'wccs_sale_flash_percentage_value', round( $discount ), $discount ); -
apply_filters( "wccs_settings_{$tab}_sanitize", $input ); -
wccs_shipping_method_get_fee
filterapply_filters( 'wccs_shipping_method_get_fee', 0, $package, $rule, $this ); -
apply_filters( 'wccs_shipping_method_get_valid_rules', array(), $package, $this ); -
apply_filters( "wccs_total_discounts_{__FUNCTION__}", $discounts, $include_tax ); -
wccs_wc_get_price_to_display
filterapply_filters( 'wccs_wc_get_price_to_display', $price_to_display, $product, $args, $wc_price ); -
apply_filters( 'woocommerce_add_cart_item_data', array( self::CART_ITEM_ID => 1, self::CART_ITEM_RULE => (int) $pricing['id'], self::CART_ITEM_APPLIED_RULES => [ [ 'id' => (int) $pricing['id'], 'name' => ! empty( $pricing['name'] ) ? $pricing['name'] : '', 'description' => ! empty( $pricing['description'] ) ? $pricing['description'] : '', 'type' => 'auto_add_product', 'apply_mode' => ! empty( $pricing['apply_mode'] ) ? $pricing['apply_mode'] ... ); -
apply_filters( 'woocommerce_adjust_non_base_location_prices', true ); -
apply_filters( 'asnp_ewd_compatibility_ctxfeed_maybe_replace_product_price', $adjusted_price, $price, $product, $feedConfig, $tax, $price_type ); -
apply_filters( 'asnp_ewd_compatibility_sw_wapf_maybe_replace_product_price', $adjusted_price, $product, $adjusted_price ); -
apply_filters( 'asnp_ewd_compatibility_tm_eop_maybe_replace_product_price', $price, $product, $adjusted_price ); -
apply_filters( 'asnp_wccs_apply_get_price_html', true, $price, $product ); -
do_action( 'asnp_wccs_before_bulk_pricing_table', $bulks, $this ); -
apply_filters( 'asnp_wccs_product_badge_cache_key_parts', $parts, $product_id, $product ); -
apply_filters( 'asnp_wccs_product_bulk_price_cache_key_parts', $parts, $product_id, $base_price, $currency ); -
apply_filters( 'asnp_wccs_product_onsale_cache_key_parts', $parts, $product_id, $pricing_types ); -
apply_filters( 'asnp_wccs_product_price_cache_key_parts', $parts, $product_id, $price_type, $base_price ); -
apply_filters( 'asnp_wccs_product_variation_price_cache_key_parts', $parts, $product_id, $for_display, $mode ); -
apply_filters( 'asnp_wccs_public_pricing_hooks_price_html_cache_key_parts', $parts, $price, $product ); -
asnp_wccs_user_cache_segment
filterapply_filters( 'asnp_wccs_user_cache_segment', $segment ); -
get_template_part_{$slug}
actiondo_action( "get_template_part_{$slug}", $slug, $name ); -
wccs_admin_templates_dir
filterapply_filters( 'wccs_admin_templates_dir', 'wccs_templates/admin' ); -
do_action( 'wccs_after_calculate_cart_totals' ); -
apply_filters( 'wccs_applicable_cart_discounts', $this->discounts, $this ); -
apply_filters( 'wccs_apply_discounted_price_on_cart_item', true, $item_discounted_price, $cart_item['data'], $cart_item ); -
do_action( 'wccs_apply_pricing_after_set_item_prices', $cart_item, $pricing_item, $item_discounted_price ); -
do_action( 'wccs_apply_pricing_before_set_item_prices', $cart_item, $pricing_item, $item_discounted_price ); -
apply_filters( 'wccs_apply_pricing_on_cart_item', true, $cart_item ); -
apply_filters( 'wccs_auto_add_product_cannot_be_purchased_message', sprintf( __( 'Sorry, "%1$s" could not be added to the cart because it is not purchasable.', 'easy-woocommerce-discounts' ), $product->get_name() ), $product ); -
apply_filters( 'wccs_auto_add_product_not_enough_stock_message', sprintf( __( 'Sorry, "%1$s" could not be added to the cart because there is not enough stock.', 'easy-woocommerce-discounts' ), $product->get_name() ), $product ); -
apply_filters( 'wccs_auto_add_product_out_of_stock_message', sprintf( __( 'Sorry, "%1$s" could not be added to the cart because it is out of stock.', 'easy-woocommerce-discounts' ), $product->get_name() ), $product ); -
apply_filters( 'wccs_auto_add_products_bogo_process_cart_item', true, $cart_item, $pricing ); -
apply_filters( 'wccs_background_auto_update_products_price', WCCS()->settings->get_setting( 'auto_update_products_price', 0 ) ); -
apply_filters( 'wccs_background_products_price_updates', true ); -
do_action( 'wccs_before_calculate_cart_totals' ); -
wccs_cache_{__FUNCTION__}
actiondo_action( "wccs_cache_{__FUNCTION__}", $this->cache_group, $this->cache_prefix ); -
wccs_calculate_cart_totals
filterapply_filters( 'wccs_calculate_cart_totals', true ); -
wccs_cart_{__FUNCTION__}
filterapply_filters( "wccs_cart_{__FUNCTION__}", (float) $subtotal, $items, $include_tax, $exclude_excluded_products ); -
apply_filters( 'wccs_cart_discount_combine_coupon_code', $coupon_code ); -
apply_filters( 'wccs_cart_discount_valid_discounts', $valid_discounts, $this ); -
wccs_cart_free_badge
filterapply_filters( 'wccs_cart_free_badge', ' <img draggable="false" role="img" class="emoji" alt="🎁" style="float:none; display: inline; border: none; box-shadow: none; height: 1em; width: 1em; background: none; padding: 0; vertical-align: -0.1em; margin: 0 0.07em;" src="https://s.w.org/images/core/emoji/14.0.0/svg/1f381.svg"/>' ); -
apply_filters( 'wccs_cart_get_cart_items_subtotal', (float) $subtotal, $cart_items, $include_tax ); -
apply_filters( 'wccs_cart_item_bulk_discounts', true, $this->item, $this ); -
wccs_cart_item_bulk_pricings
filterapply_filters( 'wccs_cart_item_bulk_pricings', true, $this->item, $this ); -
apply_filters( 'wccs_cart_item_discounted_price', $item_discounted_price, $cart_item ); -
apply_filters( "wccs_cart_item_get_{str_replace('_wccs_','',$prop)}", $cart_item[ $prop ], $cart_item, $prop ); -
apply_filters( 'wccs_cart_item_main_sale_price', $pricing_item->product->get_sale_price( 'edit' ), $cart_item ); -
apply_filters( 'wccs_cart_item_price_prices_price', wc_price( $price_str ), $price_str, $cart_item, $cart_item_key, $price ); -
wccs_cart_item_prices
filterapply_filters( 'wccs_cart_item_prices', $pricing_item->get_prices(), $cart_item ); -
apply_filters( 'wccs_cart_item_purchase_discounts', true, $this->item, $this ); -
apply_filters( 'wccs_cart_item_purchase_pricings', true, $this->item, $this ); -
apply_filters( 'wccs_cart_item_simple_discounts', true, $this->item, $this ); -
apply_filters( 'wccs_cart_item_simple_pricings', true, $this->item, $this ); -
apply_filters( 'wccs_cart_totals_coupon_html_prefix', '-' ); -
apply_filters( 'wccs_cart_totals_coupon_label_combine', $label ); -
wccs_change_cart_item_price
filterapply_filters( 'wccs_change_cart_item_price', true ); -
apply_filters( "wccs_compatibility_wc_product_bundles_{__FUNCTION__}", $valid, $cart_item ); -
apply_filters( "wccs_compatibility_wpc_product_bundles_{__FUNCTION__}", $valid, $cart_item ); -
wccs_condition_added
actiondo_action( 'wccs_condition_added', $condition ); -
wccs_condition_deleted
actiondo_action( 'wccs_condition_deleted', $condition ); -
wccs_condition_duplicated
actiondo_action( 'wccs_condition_duplicated', $condition_id ); -
wccs_condition_metadata
filterapply_filters( 'wccs_condition_metadata', $meta_data, $condition_id, $type ); -
wccs_condition_updated
actiondo_action( 'wccs_condition_updated', $condition ); -
apply_filters( "wccs_condition_validator_is_valid_{$condition['condition']}", $is_valid, $condition ); -
do_action( 'wccs_conditions_ordering_updated', sanitize_text_field( $_POST['type'] ) ); -
apply_filters( 'wccs_display_purchase_message', true, $product ); -
wccs_exact_item_id
filterapply_filters( 'wccs_exact_item_id', absint( $id ), $type ); -
wccs_exact_product
filterapply_filters( 'wccs_exact_product', $product ); -
wccs_get_admin_asset_url
filterapply_filters( 'wccs_get_admin_asset_url', plugins_url( $path, WCCS_PLUGIN_FILE ), $path ); -
wccs_get_manual_coupon_data
filterapply_filters( 'wccs_get_manual_coupon_data', $discount ); -
wccs_get_setting
filterapply_filters( 'wccs_get_setting', $value, $key, $default ); -
wccs_get_setting_{$key}
filterapply_filters( "wccs_get_setting_{$key}", $value, $key, $default ); -
wccs_get_settings
filterapply_filters( 'wccs_get_settings', $this->plugin_settings ); -
wccs_get_template_part
filterapply_filters( 'wccs_get_template_part', $templates, $slug, $name ); -
do_action( "wccs_hide_{$hide_notice}_notice" ); -
wccs_maybe_exchange_price
filterapply_filters( 'wccs_maybe_exchange_price', $price, $type ); -
apply_filters( 'wccs_not_allowed_auto_add_product_types', array( 'variable', 'composite', 'booking', ) ); -
wccs_post_insert_{$type}
actiondo_action( "wccs_post_insert_{$type}", $wpdb->insert_id, $data ); -
wccs_pre_insert_{$type}
actiondo_action( "wccs_pre_insert_{$type}", $data ); -
wccs_pricing_caches_cleared
actiondo_action( 'wccs_pricing_caches_cleared' ); -
wccs_pricing_pricings
filterapply_filters( 'wccs_pricing_pricings', $pricings, $pricing_types ); -
wccs_product_cache_deleted
actiondo_action( 'wccs_product_cache_deleted', $product_id ); -
apply_filters( "wccs_product_helpers_{__FUNCTION__}", $this->custom_taxonomies ); -
apply_filters( 'wccs_product_post_transient_names', array( 'wccs_related_', ) ); -
apply_filters( 'wccs_product_price_cache_can_read_variation_cached_prices', true, $product ); -
apply_filters( 'wccs_product_pricing_bulk_pricing_table', $table, $this ); -
wccs_product_pricing_params
filterapply_filters( 'wccs_product_pricing_params', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'nonce' => wp_create_nonce( 'wccs_single_product_nonce' ), 'product_id' => $post->ID, 'analytics' => (int) WCCS()->settings->get_setting( 'enable_analytics', 0 ), ) ); -
apply_filters( 'wccs_product_transients_to_clear', array() ); -
apply_filters( "wccs_product_validator_is_valid_{$method}", $is_valid, $item, $product, $variation, $variations ); -
apply_filters( 'wccs_product_validator_is_valid_cart_item', true, $cart_item ); -
apply_filters( 'wccs_product_validator_validate_method', $method, $item, $item, $product, $variation, $variations ); -
wccs_products_query
filterapply_filters( 'wccs_products_query', $wp_query_args, $args ); -
do_action( 'wccs_public_cart_item_pricing_after_get_base_price', $this ); -
do_action( 'wccs_public_cart_item_pricing_before_get_base_price', $this ); -
do_action( 'wccs_public_cart_item_pricing_before_get_price', $this ); -
do_action( 'wccs_public_pricing_hooks_after_apply_pricings', $this ); -
do_action( 'wccs_public_pricing_hooks_before_apply_pricings', $this ); -
do_action( 'wccs_public_product_pricing_after_get_base_price', $this ); -
do_action( 'wccs_public_product_pricing_after_get_discounted_price', $discount, $discount_type, $this ); -
apply_filters( 'wccs_public_product_pricing_apply_adjusted_price', true, $adjusted_price, $this->product ); -
do_action( 'wccs_public_product_pricing_before_get_base_price', $this ); -
do_action( 'wccs_public_product_pricing_before_get_discounted_price', $discount, $discount_type, $this ); -
apply_filters( 'wccs_public_product_pricing_get_discounted_price_product', $price, $this->product, $discount, $discount_type, $this ); -
apply_filters( 'wccs_public_product_pricing_get_discounted_price_variation', $variation_price, $variation_id, $variation, $discount, $discount_type, $this ); -
wccs_public_templates_dir
filterapply_filters( 'wccs_public_templates_dir', 'wccs_templates/public' ); -
wccs_registered_settings
filterapply_filters( 'wccs_registered_settings', array( 'general' => apply_filters( 'wccs_settings_general', array( 'cart-discount' => apply_filters( 'wccs_settings_general_cart_discount_section', array( 'cart_discount_apply_method' => array( 'id' => 'cart_discount_apply_method', 'name' => __( 'Discount Apply Method', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 'sum', 'options' => array( 'first' => __( 'Apply first matched ru... ); -
wccs_sale_flash
filterapply_filters( 'wccs_sale_flash', '<span class="onsale wccs-onsale-badge">' . esc_html__( 'Sale!', 'woocommerce' ) . '</span>', $post, $product ); -
wccs_settings_general
filterapply_filters( 'wccs_settings_general', array( 'cart-discount' => apply_filters( 'wccs_settings_general_cart_discount_section', array( 'cart_discount_apply_method' => array( 'id' => 'cart_discount_apply_method', 'name' => __( 'Discount Apply Method', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 'sum', 'options' => array( 'first' => __( 'Apply first matched rule discount', 'easy-woocommerce-discounts' ), 'max' => __( '... ); -
apply_filters( 'wccs_settings_general_cart_discount_section', array( 'cart_discount_apply_method' => array( 'id' => 'cart_discount_apply_method', 'name' => __( 'Discount Apply Method', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 'sum', 'options' => array( 'first' => __( 'Apply first matched rule discount', 'easy-woocommerce-discounts' ), 'max' => __( 'Apply maximum discount', 'easy-woocommerce-discounts' ), 'min' => __( 'Apply minimum dis... ); -
apply_filters( 'wccs_settings_general_checkout_fee_section', array( 'checkout_fee_header' => array( 'id' => 'checkout_fee_header', 'name' => '<h3>' . __( 'Checkout Fee', 'easy-woocommerce-discounts' ) . ' - ' . __( 'Pro Version', 'easy-woocommerce-discounts' ) . '</h3>', 'type' => 'header', ), 'checkout_fee_apply_method' => array( 'id' => 'checkout_fee_apply_method', 'name' => __( 'Checkout Fee Apply Method', 'easy-woocommerce-discounts' ), 'type' => 'se... ); -
apply_filters( 'wccs_settings_general_product_pricing_section', array( 'change_display_price' => array( 'id' => 'change_display_price', 'name' => __( 'Change Display Price', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 'simple', 'options' => array( 'none' => __( 'Do not change', 'easy-woocommerce-discounts' ), 'all' => __( 'Change price - simple and bulk prices', 'easy-woocommerce-discounts' ), 'simple' => __( 'Change price - simple prices',... ); -
apply_filters( 'wccs_settings_general_shipping_section', array( 'shipping_enabled' => array( 'id' => 'shipping_enabled', 'name' => __( 'Enabled', 'easy-woocommerce-discounts' ), 'desc' => __( 'Enables WooCommerce Dynamic Shipping.', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 'yes', 'options' => array( 'yes' => __( 'Yes', 'easy-woocommerce-discounts' ), 'no' => __( 'No', 'easy-woocommerce-discounts' ), ), ), 'hide_on_free_shipping' =... ); -
wccs_settings_licenses
filterapply_filters( 'wccs_settings_licenses', array( 'main' => apply_filters( 'wccs_settings_licenses_main_section', array( 'license_key' => array( 'id' => 'license_key', 'name' => __( 'License/Purchase Key', 'easy-woocommerce-discounts' ), 'desc' => __( 'Enter your license key to enable and receive automatic updates.', 'easy-woocommerce-discounts' ), 'type' => 'text', 'size' => 'regular', ), 'license_desc' => array( 'id' => 'license_desc'... ); -
apply_filters( 'wccs_settings_licenses_main_section', array( 'license_key' => array( 'id' => 'license_key', 'name' => __( 'License/Purchase Key', 'easy-woocommerce-discounts' ), 'desc' => __( 'Enter your license key to enable and receive automatic updates.', 'easy-woocommerce-discounts' ), 'type' => 'text', 'size' => 'regular', ), 'license_desc' => array( 'id' => 'license_desc', 'name' => 'Notice', 'desc' => '<p><strong>Each website using this plu... ); -
wccs_settings_localization
filterapply_filters( 'wccs_settings_localization', array( 'main' => apply_filters( 'wccs_settings_localization_main_section', array( 'localization_enabled' => array( 'id' => 'localization_enabled', 'name' => __( 'Enabled', 'easy-woocommerce-discounts' ), 'desc' => sprintf( __( 'Enable it to use local texts or labels.%1$s Note: Disable it on a multilingual site and just translate texts that appears in front-end of your site which are exists in t... ); -
apply_filters( 'wccs_settings_localization_main_section', array( 'localization_enabled' => array( 'id' => 'localization_enabled', 'name' => __( 'Enabled', 'easy-woocommerce-discounts' ), 'desc' => sprintf( __( 'Enable it to use local texts or labels.%1$s Note: Disable it on a multilingual site and just translate texts that appears in front-end of your site which are exists in the langulage file of the plugin.', 'easy-woocommerce-discounts' ), '</br>' ... ); -
wccs_settings_performance
filterapply_filters( 'wccs_settings_performance', array( 'main' => apply_filters( 'wccs_settings_performance_main_section', array( 'update_products_price' => array( 'id' => 'update_products_price', 'name' => __( 'Warm Products Price Cache', 'easy-woocommerce-discounts' ), 'desc' => sprintf( __( 'Pre-calculate and warm product prices and on-sale badges into the persistent cache in the background.%1$s<strong>Note:</strong> Warming price cache is... ); -
apply_filters( 'wccs_settings_performance_main_section', array( 'update_products_price' => array( 'id' => 'update_products_price', 'name' => __( 'Warm Products Price Cache', 'easy-woocommerce-discounts' ), 'desc' => sprintf( __( 'Pre-calculate and warm product prices and on-sale badges into the persistent cache in the background.%1$s<strong>Note:</strong> Warming price cache is only useful when simple pricing or bulk pricing rules that change product... ); -
wccs_settings_promotion
filterapply_filters( 'wccs_settings_promotion', array( 'quantity-table' => apply_filters( 'wccs_settings_promotion_quantity_table_section', array( 'display_quantity_table' => array( 'id' => 'display_quantity_table', 'name' => __( 'Display Quantity Table', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 1, 'options' => array( 1 => __( 'Yes', 'easy-woocommerce-discounts' ), 0 => __( 'No', 'easy-woocommerce-discounts' ), ), ), 'qua... ); -
apply_filters( 'wccs_settings_promotion_countdown_timer_section', array( 'display_countdown_timer' => array( 'id' => 'display_countdown_timer', 'name' => __( 'Display Countdown Timer', 'easy-woocommerce-discounts' ), 'desc' => sprintf( __( 'If enabled displays Countdown Timer in the product page.%1$s' . 'When a discount available: If the product has a pricing rule with a date-time condition then show the countdown timer based on <strong>Threshold Time Value</... ); -
apply_filters( 'wccs_settings_promotion_discount_page_section', array( 'show_discount_page' => array( 'id' => 'show_discount_page', 'name' => __( 'Show Discount Page', 'easy-woocommerce-discounts' ), 'desc' => __( 'Showing discount page in cart and checkout pages as a notice to user.', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 'discounts_available', 'options' => array( 'always' => __( 'Always', 'easy-woocommerce-discounts' ) . ' - ' . __(... ); -
apply_filters( 'wccs_settings_promotion_live_price_section', array( 'live_pricing_display' => array( 'id' => 'live_pricing_display', 'name' => __( 'Display Live Price', 'easy-woocommerce-discounts' ), 'desc' => __( 'If enabled displays product discounted price in the product page.', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 1, 'options' => array( 1 => __( 'Yes', 'easy-woocommerce-discounts' ) . ' - ' . __( 'Pro Version', 'easy-woocomme... ); -
apply_filters( 'wccs_settings_promotion_messages_section', array( 'purchase_x_receive_y_message_display' => array( 'id' => 'purchase_x_receive_y_message_display', 'name' => __( 'Display Message', 'easy-woocommerce-discounts' ), 'desc' => __( 'Display pricing rule message in the product page.', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 1, 'options' => array( 1 => __( 'Yes', 'easy-woocommerce-discounts' ), 0 => __( 'No', 'easy-woocomme... ); -
apply_filters( 'wccs_settings_promotion_quantity_table_section', array( 'display_quantity_table' => array( 'id' => 'display_quantity_table', 'name' => __( 'Display Quantity Table', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 1, 'options' => array( 1 => __( 'Yes', 'easy-woocommerce-discounts' ), 0 => __( 'No', 'easy-woocommerce-discounts' ), ), ), 'quantity_table_title' => array( 'id' => 'quantity_table_title', 'name' => __( 'Title of Quantit... ); -
apply_filters( 'wccs_settings_promotion_total_discounts_section', array( 'display_total_discounts' => array( 'id' => 'display_total_discounts', 'name' => __( 'Display You Saved', 'easy-woocommerce-discounts' ), 'desc' => __( 'If enabled displays you saved amount that the user get for the current order in the cart and checkout pages.', 'easy-woocommerce-discounts' ), 'type' => 'select', 'std' => 0, 'options' => array( 1 => __( 'Yes', 'easy-woocommerce-discount... ); -
wccs_settings_sanitize
filterapply_filters( 'wccs_settings_sanitize', $input[ $key ], $key ); -
apply_filters( "wccs_settings_sanitize_{$type}", $value, $key ); -
wccs_settings_sections
filterapply_filters( 'wccs_settings_sections', $this->sections ); -
apply_filters( 'wccs_settings_sections_general', array( 'cart-discount' => __( 'Cart Discount', 'easy-woocommerce-discounts' ), 'product-pricing' => __( 'Product Pricing', 'easy-woocommerce-discounts' ), 'checkout-fee' => __( 'Checkout Fee', 'easy-woocommerce-discounts' ), 'shipping' => __( 'Shipping', 'easy-woocommerce-discounts' ), ) ); -
apply_filters( 'wccs_settings_sections_licenses', array( 'main' => __( 'Main', 'easy-woocommerce-discounts' ), ) ); -
apply_filters( 'wccs_settings_sections_localization', array( 'main' => __( 'Main', 'easy-woocommerce-discounts' ), ) ); -
apply_filters( 'wccs_settings_sections_performance', array( 'main' => __( 'Main', 'easy-woocommerce-discounts' ), ) ); -
apply_filters( 'wccs_settings_sections_promotion', array( 'quantity-table' => __( 'Quantity Table', 'easy-woocommerce-discounts' ), 'live-price' => __( 'Live Price', 'easy-woocommerce-discounts' ), 'messages' => __( 'Messages', 'easy-woocommerce-discounts' ), 'total-discounts' => __( 'You Saved', 'easy-woocommerce-discounts' ), 'countdown-timer' => __( 'Countdown Timer', 'easy-woocommerce-discounts' ), 'discount-page' => __( 'Discount Page', 'e... ); -
wccs_settings_tab_bottom
actiondo_action( 'wccs_settings_tab_bottom', $active_tab ); -
do_action( "wccs_settings_tab_bottom_{$active_tab}_{$section}" ); -
wccs_settings_tab_top
actiondo_action( 'wccs_settings_tab_top', $active_tab ); -
do_action( "wccs_settings_tab_top_{$active_tab}_{$section}" ); -
wccs_settings_tabs
filterapply_filters( 'wccs_settings_tabs', array( 'general' => __( 'General', 'easy-woocommerce-discounts' ), 'promotion' => __( 'Promotion', 'easy-woocommerce-discounts' ), 'localization' => __( 'Localization', 'easy-woocommerce-discounts' ), 'performance' => __( 'Performance', 'easy-woocommerce-discounts' ), 'licenses' => __( 'Enable Updates', 'easy-woocommerce-discounts' ), ) ); -
apply_filters( "wccs_shipping_condition_validator_is_valid_{$condition['condition']}", $is_valid, $condition ); -
apply_filters( 'wccs_shipping_method_get_rule_cost', $cost, $rule, $package ); -
wccs_shipping_method_rate
filterapply_filters( 'wccs_shipping_method_rate', array( 'id' => $this->get_rate_id(), 'label' => ! empty( $rule->name ) ? sanitize_text_field( $rule->name ) : __( 'Shipping', 'easy-woocommerce-discounts' ), 'cost' => $this->get_rule_cost( $rule, $package ), 'package' => $package, ), $package, $rule ); -
apply_filters( 'wccs_should_apply_cart_discounts', true ); -
wccs_should_apply_pricing
filterapply_filters( 'wccs_should_apply_pricing', true, $this ); -
wccs_show_admin_notice
filterapply_filters( 'wccs_show_admin_notice', true, $notice ); -
apply_filters( 'wccs_store_api_cart_item_regular_price', isset( $cart_item['_wccs_main_price'] ) ? (float) $cart_item['_wccs_main_price'] : null, $cart_item, $item_data, $response ); -
wccs_template_paths
filterapply_filters( 'wccs_template_paths', $file_paths ); -
apply_filters( 'wccs_wc_products_get_categories_args', $args ); -
woocommerce_applied_coupon
actiondo_action( 'woocommerce_applied_coupon', $coupon_code ); -
apply_filters( "woocommerce_cart_{__FUNCTION__}", 'incl' === $this->cart->tax_display_cart ); -
apply_filters( 'woocommerce_cart_product_price', wc_price( $product_price ), $product ); -
apply_filters( 'woocommerce_cart_totals_get_item_tax_rates', $item_tax_rates, $item, $this->cart ); -
apply_filters( 'woocommerce_conditions_enable_auto_update_db', true ); -
do_action( 'woocommerce_conditions_installed' ); -
do_action( 'woocommerce_conditions_updated' ); -
woocommerce_coupon_code
filterapply_filters( 'woocommerce_coupon_code', $coupon_code ); -
apply_filters( 'woocommerce_coupon_code_generator_character_length', 8 ); -
apply_filters( 'woocommerce_coupon_code_generator_characters', 'ABCDEFGHJKMNPQRSTUVWXYZ23456789' ); -
apply_filters( 'woocommerce_coupon_code_generator_prefix', '' ); -
apply_filters( 'woocommerce_coupon_code_generator_suffix', '' ); -
apply_filters( 'woocommerce_format_price_range', $price, $from, $to ); -
apply_filters( 'woocommerce_is_rest_api_request', $is_rest_api_request ); -
apply_filters( 'woocommerce_product_is_on_sale', $on_sale, $product ); -
apply_filters( "woocommerce_shipping_{$this->id}_is_available", $this->is_enabled(), $package, $this ); -
apply_filters( "woocommerce_shipping_{$this->id}_option", WCCS()->settings->get_setting( 'shipping_' . $key, $empty_value ), $key, $this ); -
apply_filters( 'woocommerce_shortcode_products_query', $query_args, array(), 'products' ); -
woocommerce_variation_prices
filterapply_filters( 'woocommerce_variation_prices', $prices_array, $product, $for_display ); -
do_action( "wp_{get_current_blog_id()}_wccs_updater_cron" ); -
wpml_object_id
filterapply_filters( 'wpml_object_id', $id, $type, true ); -
apply_filters( 'wwp_filter_wholesale_price_title_text', __( 'Wholesale Price:', 'woocommerce-wholesale-prices' ) );
Generated from Discount Rules and Dynamic Pricing for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: