WC_Legacy_Coupon::exclude_sale_items()publicWC 1.0

Check if a coupon excludes sale items.

Метод класса: WC_Legacy_Coupon{}

Хуков нет.

Возвращает

true|false.

Использование

$WC_Legacy_Coupon = new WC_Legacy_Coupon();
$WC_Legacy_Coupon->exclude_sale_items();

Код WC_Legacy_Coupon::exclude_sale_items() WC 8.7.0

public function exclude_sale_items() {
	wc_deprecated_function( 'WC_Coupon::exclude_sale_items', '3.0', 'WC_Coupon::get_exclude_sale_items' );
	return $this->get_exclude_sale_items();
}