WordPress at Your Fingertips
function is not described

WC_Discounts::get_object() public WC 3.3.2

Get the object concerned.

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

No Hooks.

Return

Object.

Usage

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

Changelog

Since 3.3.2 Introduced.

Code of WC_Discounts::get_object() WC 5.7.1

public function get_object() {
	return $this->object;
}