woocommerce_product_crosssell_ids filter-hook . WC 1.0
Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. It is recommended to replace this hook with the same one.╳
Deprecated: 3.0.0
Returns the cross sell product ids.
Usage
add_filter( 'woocommerce_product_crosssell_ids', 'filter_function_name_6307', 10, 2 ); function filter_function_name_6307( $cross_sell_ids, $that ){ // filter... return $cross_sell_ids; }
- $cross_sell_ids
- -
- $that
- -
Changelog
Deprecated | 3.0.0 |
Where the hook is called
woocommerce_product_crosssell_ids
woocommerce/includes/legacy/abstract-wc-legacy-product.php 440
return apply_filters( 'woocommerce_product_crosssell_ids', $this->get_cross_sell_ids(), $this );