LLMS_Coupon::has_remaining_uses()
Determine if a coupon has uses remaining
Return Return
(boolean) true if uses are remaining, false otherwise
Source Source
File: includes/models/model.llms.coupon.php
public function has_remaining_uses() { $uses = $this->get_remaining_uses(); if ( is_numeric( $uses ) ) { return ( $uses >= 1 ) ? true : false; } return true; }
Expand full source code Collapse full source code View on GitHub