WordPress at Your Fingertips
function is not described

WC_Discounts::get_items_to_validate() public WC 3.3.2

Get items to validate.

{} It's a method of the class: WC_Discounts{}

Return

Object[].

Usage

$WC_Discounts = new WC_Discounts();
$WC_Discounts->get_items_to_validate();

Changelog

Since 3.3.2 Introduced.

Code of WC_Discounts::get_items_to_validate() WC 5.6.0

public function get_items_to_validate() {
	return apply_filters( 'woocommerce_coupon_get_items_to_validate', $this->get_items(), $this );
}