1. Home
  2. Docs
  3. INTERNAL API
  4. Functions reference
  5. lmfwc_get_license()

lmfwc_get_license()

[php]function lmfwc_get_license(string $licenseKey)[/php]

DESCRIPTION

Retrieves an existing license from the database.

PARAMETERS

$licenseKey (string) (Required)
The license key to retrieve.

RETURN VALUE

(bool|LicenseManagerForWooCommerce\Models\Resources\License)
License model on success, false on failure.

SOURCE CODE

/includes/functions/lmfwc-license-functions.php#113

How can we help?