woocommerce_cart_crosssell_ids filter-hookWC 1.0

Usage

add_filter( 'woocommerce_cart_crosssell_ids', 'wp_kama_woocommerce_cart_crosssell_ids_filter', 10, 2 );

/**
 * Function for `woocommerce_cart_crosssell_ids` filter-hook.
 * 
 * @param  $wp_parse_id_list 
 * @param  $that             
 *
 * @return 
 */
function wp_kama_woocommerce_cart_crosssell_ids_filter( $wp_parse_id_list, $that ){

	// filter...
	return $wp_parse_id_list;
}
$wp_parse_id_list
-
$that
-

Where the hook is called

WC_Cart::get_cross_sells()
woocommerce_cart_crosssell_ids
woocommerce/includes/class-wc-cart.php 837
return apply_filters( 'woocommerce_cart_crosssell_ids', wp_parse_id_list( $cross_sells ), $this );

Where the hook is used in WooCommerce

Usage not found.