public function isPremium( $product ) {
		$isPremium = isset( $this->getData()->$product );

		$this->licenseString = $isPremium ?
			__( 'Premium', 'boldgrid-connect' ) : __( 'Free', 'boldgrid-library' );

		return $isPremium;
	}
public function isPremium( $product ) {
		$isPremium = isset( $this->getData()->$product );

		$this->licenseString = $isPremium ?
			__( 'Premium', 'boldgrid-connect' ) : __( 'Free', 'boldgrid-library' );

		return $isPremium;
	}
public function isPremium ( $ product ) { $ isPremium = isset ( $ this -> getData ( ) -> $ product ) ; $ this -> licenseString = $ isPremium ? __ ( 'Premium' , 'boldgrid-connect' ) : __ ( 'Free' , 'boldgrid-library' ) ; return $ isPremium ; }
Checks if product is premium or free.

@since 1.1.4

@hook Boldgrid\Library\License\isPremium

@return bool
Checks if product is premium or free .