Extended Coupon Features for WooCommerce FREE 3.4.2 has 10 actions and 14 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 Extended Coupon Features for WooCommerce FREE fires an action
add_action( 'wjecf_admin_after_settings', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Extended Coupon Features for WooCommerce FREE is about to use
add_filter( 'wjecf_apply_with_other_coupons', function( $value, $the_coupon, $applied_coupon_codes ) {
// 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 to disallow certain coupon combinations to be auto-applied together. */ apply_filters( 'wjecf_apply_with_other_coupons', true, $the_coupon, $applied_coupon_codes ); -
/** * Filter: wjecf_auto_remove_invalid_coupon. */ apply_filters( 'wjecf_auto_remove_invalid_coupon', $this->is_auto_coupon($coupon), $coupon ); -
wjecf_coupon_item_quantity
filter/** * Filter to override the quantity of a single cart item or order item. */ apply_filters( 'wjecf_coupon_item_quantity', $item_quantity, $coupon, $item, $wc_discounts ); -
wjecf_get_situation
filter/** * Auto Coupons will only be updated if the situation hash has changed. Use * this filter to add additional entries to the situation. For example: Append * the time if you create a rule that only allows a coupon on certain hours of * the day. */ apply_filters( 'wjecf_get_situation', $situation ); -
wjecf_get_product_cat_ids
filterapply_filters( 'wjecf_get_product_cat_ids', $product_cats ); -
wjecf_get_product_ids
filterapply_filters( 'wjecf_get_product_ids', array_unique($item_ids) ); -
plugin_locale
filterapply_filters( 'plugin_locale', get_locale(), 'woocommerce' ); -
wjecf_admin_after_settings
actiondo_action( 'wjecf_admin_after_settings' ); -
wjecf_admin_before_settings
actiondo_action( 'wjecf_admin_before_settings' ); -
apply_filters( 'wjecf_admin_validate_settings', $options, $input ); -
do_action( 'wjecf_after_update_matched_autocoupons' ); -
wjecf_assert_coupon_is_valid
actiondo_action( 'wjecf_assert_coupon_is_valid', $coupon, $wc_discounts ); -
do_action( 'wjecf_before_update_matched_autocoupons' ); -
wjecf_coupon_can_be_applied
filterapply_filters( 'wjecf_coupon_can_be_applied', $can_be_applied, $coupon ); -
wjecf_coupon_has_a_value
filterapply_filters( 'wjecf_coupon_has_a_value', $has_a_value, $coupon ); -
do_action( 'wjecf_coupon_metabox_checkout', $thepostid, $post ); -
do_action( 'wjecf_coupon_metabox_customer', $thepostid, $post ); -
wjecf_coupon_metabox_misc
actiondo_action( 'wjecf_coupon_metabox_misc', $thepostid, $post ); -
apply_filters( 'wjecf_coupon_multiplier_value', $this->coupon_multiplier_values[$coupon_code], $coupon, $wc_discounts ); -
wjecf_init_plugins
actiondo_action( 'wjecf_init_plugins' ); -
do_action( 'wjecf_woocommerce_coupon_options_extended_features', $thepostid, $post ); -
apply_filters( 'woocommerce_apply_individual_use_coupon', [], $the_coupon, $applied_coupon_codes ); -
apply_filters( 'woocommerce_apply_with_individual_use_coupon', false, $the_coupon, $coupon, $applied_coupon_codes ); -
wpml_object_id
filterapply_filters( 'wpml_object_id', $object_id, $object_type, true );
Generated from Extended Coupon Features for WooCommerce FREE'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: