simcal_get_license_key

Get add-on license key.

Description

(null|string) simcal_get_license_key( (string) $addon ); 

Returns (null|string)

Parameters (1)

0. $addon (string)
Unique add-on id.

Usage

  1. if ( !function_exists( 'simcal_get_license_key' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'simple-calendar/includes/functions/admin.php'; 
  3.  
  4. // Unique add-on id. 
  5. $addon = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = simcal_get_license_key($addon); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/functions/admin.php