Ejemplo n.º 1
0
 /**
  * Returns URL to deactivate activation
  *
  * @param \Never5\LicenseWP\License\License $license
  *
  * @return string
  */
 public function get_deactivate_url($license)
 {
     return esc_url(add_query_arg(array('deactivate_license' => $this->get_id(), 'license_key' => $license->get_key(), 'activation_email' => $license->get_activation_email())));
 }
Ejemplo n.º 2
0
 /**
  * Get API product download URL
  *
  * @param \Never5\LicenseWP\License\License $license
  *
  * @return string
  */
 public function get_download_url($license)
 {
     return add_query_arg(array('download_api_product' => $this->get_id(), 'license_key' => $license->get_key(), 'activation_email' => $license->get_activation_email()), home_url('/'));
 }