WordPress at Your Fingertips
function is not described

WC_Discounts::get_items() public WC 3.2.0

Get items.

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

No Hooks.

Return

Object[].

Usage

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

Changelog

Since 3.2.0 Introduced.

Code of WC_Discounts::get_items() WC 5.7.0

public function get_items() {
	return $this->items;
}