WordPress at a glance
filter is not described

woocommerce_coupon_sort filter-hook . WC 1.0

Allow plugins to override the default order.

Usage

add_filter( 'woocommerce_coupon_sort', 'filter_function_name_3342', 10, 2 );
function filter_function_name_3342( $sort, $coupon ){
	// filter...

	return $sort;
}
$sort
-
$coupon
-

Where the hook is called

WC_Cart_Totals::get_coupons_from_cart()
woocommerce_coupon_sort
woocommerce/includes/class-wc-cart-totals.php 379
$coupon->sort = apply_filters( 'woocommerce_coupon_sort', $coupon->sort, $coupon );

Where in WP core the hook is used WooCommerce

Usage not found.