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

lmfwc_update_license()

[php]function lmfwc_update_license(string $licenseKey, array $licenseData)[/php]

DESCRIPTION

Updates an existing license.

PARAMETERS

$licenseKey (string) (Required)
The license key being updated.

$licenseData (array) (Optional)
Key/value pairs. The keys must match the license table columns names.

RETURN VALUE

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

SOURCE CODE

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

How can we help?