woocommerce_product_crosssell_ids

woocommerce_product_crosssell_ids

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_product_crosssell_ids') is found 1 times:

  • /includes/legacy/abstract-wc-legacy-product.php line 440
    	 * @return array
    	 */
    	public function get_cross_sells() {
    		wc_deprecated_function( 'WC_Product::get_cross_sells', '3.0', 'WC_Product::get_cross_sell_ids' );
    		return apply_filters( 'woocommerce_product_crosssell_ids', $this->get_cross_sell_ids(), $this );
    	}
    
    	/**
    	 * Check if variable product has default attributes set.
    	 *
    	 * @deprecated 3.0.0