src/Modules/Licenser.php
public function product_valid() {
		if ( false !== ( $license = get_transient( $this->product->get_key() . '_license_data' ) ) ) {
			return;
		}
		$license = $this->check_license();
		set_transient( $this->product->get_key() . '_license_data', $license, 12 * HOUR_IN_SECONDS );
		update_option( $this->product->get_key() . '_license_data', $license );
	}
public function product_valid() {
		if ( false !== ( $license = get_transient( $this->product->get_key() . '_license_data' ) ) ) {
			return;
		}
		$license = $this->check_license();
		set_transient( $this->product->get_key() . '_license_data', $license, 12 * HOUR_IN_SECONDS );
		update_option( $this->product->get_key() . '_license_data', $license );
	}
public function product_valid ( ) { if ( false !== ( $ license = get_transient ( $ this -> product -> get_key ( ) . '_license_data' ) ) ) { return ; } $ license = $ this -> check_license ( ) ; set_transient ( $ this -> product -> get_key ( ) . '_license_data' , $ license , 12 * HOUR_IN_SECONDS ) ; update_option ( $ this -> product -> get_key ( ) . '_license_data' , $ license ) ; }
Run the license check call.
Run the license check call .