woocommerce_product_upsell_ids

woocommerce_product_upsell_ids

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_product_upsell_ids') is found 1 times:

  • /includes/legacy/abstract-wc-legacy-product.php line 429
    	 * @return array
    	 */
    	public function get_upsells() {
    		wc_deprecated_function( 'WC_Product::get_upsells', '3.0', 'WC_Product::get_upsell_ids' );
    		return apply_filters( 'woocommerce_product_upsell_ids', $this->get_upsell_ids(), $this );
    	}
    
    	/**
    	 * Returns the cross sell product ids.
    	 *
    	 * @deprecated 3.0.0