Warning: This method has been deprecated.

WC_Abstract_Legacy_Product::get_cross_sells()

Returns the cross sell product ids.


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/legacy/abstract-wc-legacy-product.php

	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 );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.