LLMS_Access_Plan::can_expire()

Determine if the access plan has expiration settings


Return Return

(boolean) true if it can expire, false if it's for lifetime access


Top ↑

Source Source

File: includes/models/model.llms.access.plan.php

	public function can_expire() {
		return ( 'lifetime' !== $this->get( 'access_expiration' ) );
	}

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.