src/Modules/Licenser.php
function check_expiration() {
		$license_data = get_option( $this->product->get_key() . '_license_data', '' );
		if ( '' === $license_data ) {
			return false;
		}
		if ( ! isset( $license_data->expires ) ) {
			return false;
		}
		if ( strtotime( $license_data->expires ) - time() > 30 * 24 * 3600 ) {
			return false;
		}

		return true;
	}
function check_expiration() {
		$license_data = get_option( $this->product->get_key() . '_license_data', '' );
		if ( '' === $license_data ) {
			return false;
		}
		if ( ! isset( $license_data->expires ) ) {
			return false;
		}
		if ( strtotime( $license_data->expires ) - time() > 30 * 24 * 3600 ) {
			return false;
		}

		return true;
	}
function check_expiration ( ) { $ license_data = get_option ( $ this -> product -> get_key ( ) . '_license_data' , '' ) ; if ( '' === $ license_data ) { return false ; } if ( ! isset ( $ license_data -> expires ) ) { return false ; } if ( strtotime ( $ license_data -> expires ) - time ( ) > 30 * 24 * 3600 ) { return false ; } return true ; }
Check if the license is about to expire in the next month.

@return bool
Check if the license is about to expire in the next month .