WordPress at a glance
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[]. Nothing.

Usage

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

Changelog

Since 3.2.0 Introduced.

Code of WC_Discounts::get_items() WC 5.4.1

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