Extended Coupon Features for WooCommerce FREE icon
eCommerce & WooCommerce

Extended Coupon Features for WooCommerce FREE hooks reference

  • By Soft79
  • v3.4.2
  • Updated

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.

functions.phpyour child theme
// 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

  • includes/class-wjecf-controller.php line 689
    /**
     * Filter to disallow certain coupon combinations to be auto-applied together.
     */
    apply_filters( 'wjecf_apply_with_other_coupons', true, $the_coupon, $applied_coupon_codes );
  • includes/plugins/WJECF_Autocoupon.php line 949
    /**
     * Filter: wjecf_auto_remove_invalid_coupon.
     */
    apply_filters( 'wjecf_auto_remove_invalid_coupon', $this->is_auto_coupon($coupon), $coupon );
  • includes/class-wjecf-controller.php line 352
    /**
     * 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 );
  • includes/plugins/WJECF_Autocoupon.php line 849
    /**
     * 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 );
  • includes/class-wjecf-controller.php line 993 · used in 2 places
    apply_filters( 'wjecf_get_product_cat_ids', $product_cats );
  • includes/class-wjecf-controller.php line 953 · used in 2 places
    apply_filters( 'wjecf_get_product_ids', array_unique($item_ids) );
  • plugin_locale

    filter
    woocommerce-jos-autocoupon.php line 32
    apply_filters( 'plugin_locale', get_locale(), 'woocommerce' );
  • includes/plugins/WJECF_Admin_Settings.php line 114
    do_action( 'wjecf_admin_after_settings' );
  • includes/plugins/WJECF_Admin_Settings.php line 62
    do_action( 'wjecf_admin_before_settings' );
  • includes/plugins/WJECF_Admin_Settings.php line 190
    apply_filters( 'wjecf_admin_validate_settings', $options, $input );
  • includes/plugins/WJECF_Autocoupon.php line 909
    do_action( 'wjecf_after_update_matched_autocoupons' );
  • includes/class-wjecf-controller.php line 276
    do_action( 'wjecf_assert_coupon_is_valid', $coupon, $wc_discounts );
  • includes/plugins/WJECF_Autocoupon.php line 861
    do_action( 'wjecf_before_update_matched_autocoupons' );
  • includes/plugins/WJECF_Autocoupon.php line 1113
    apply_filters( 'wjecf_coupon_can_be_applied', $can_be_applied, $coupon );
  • includes/plugins/WJECF_Autocoupon.php line 679
    apply_filters( 'wjecf_coupon_has_a_value', $has_a_value, $coupon );
  • includes/plugins/WJECF_Admin.php line 143
    do_action( 'wjecf_coupon_metabox_checkout', $thepostid, $post );
  • includes/plugins/WJECF_Admin.php line 144
    do_action( 'wjecf_coupon_metabox_customer', $thepostid, $post );
  • includes/plugins/WJECF_Admin.php line 152
    do_action( 'wjecf_coupon_metabox_misc', $thepostid, $post );
  • includes/class-wjecf-controller.php line 297
    apply_filters( 'wjecf_coupon_multiplier_value', $this->coupon_multiplier_values[$coupon_code], $coupon, $wc_discounts );
  • includes/class-wjecf-controller.php line 903
    do_action( 'wjecf_init_plugins' );
  • includes/plugins/WJECF_Admin.php line 151
    do_action( 'wjecf_woocommerce_coupon_options_extended_features', $thepostid, $post );
  • includes/class-wjecf-controller.php line 663
    apply_filters( 'woocommerce_apply_individual_use_coupon', [], $the_coupon, $applied_coupon_codes );
  • includes/class-wjecf-controller.php line 676
    apply_filters( 'woocommerce_apply_with_individual_use_coupon', false, $the_coupon, $coupon, $applied_coupon_codes );
  • includes/plugins/WJECF_WPML.php line 77
    apply_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: