simcal_get_license_status

Get add-on license status.

Description

(array|string) simcal_get_license_status( (null) $addon = null ); 

Without passing arguments returns all the statuses array.

Returns (array|string)

Parameters (1)

0. $addon — Optional. (null) => null
Unique add-on slug.

Usage

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

Defined (1)

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

/includes/functions/admin.php