for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace EmailLog\License;
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
/**
* EmailLog License.
*
* @since 2.0.0
*/
class License extends BaseLicense {
* Is the license activated and valid?
* @return bool True if license is active, False otherwise.
public function is_valid() {
// TODO: Implement is_valid() method.
return false;
}
* Get the license key.
* @return string License Key.
public function get_license_key() {
return $this->license_key;
* Get the download url for the add-on.
* @return string Download url.
public function get_download_url() {
try {
$response = $this->get_version();
} catch ( \Exception $e ) {
return '';
return $response->download_link;