LLMS_Order::has_coupon()

Determine if a coupon was used


Return Return

(boolean)


Top ↑

Source Source

File: includes/models/model.llms.order.php

	public function has_coupon() {
		return ( 'yes' === $this->get( 'coupon_used' ) );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.