WordPress at a glance
filter is not described

woocommerce_product_upsell_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 upsell product ids.

Usage

add_filter( 'woocommerce_product_upsell_ids', 'filter_function_name_3271', 10, 2 );
function filter_function_name_3271( $upsell_ids, $that ){
	// filter...

	return $upsell_ids;
}
$upsell_ids
-
$that
-

Changelog

Deprecated 3.0.0

Where the hook is called

WC_Abstract_Legacy_Product::get_upsells()
woocommerce_product_upsell_ids
woocommerce/includes/legacy/abstract-wc-legacy-product.php 429
return apply_filters( 'woocommerce_product_upsell_ids', $this->get_upsell_ids(), $this );

Where in WP core the hook is used WooCommerce

Usage not found.