lmfwc_add_license()

Estimated reading: 1 minute 198 views
[php]
function lmfwc_add_license(string $licenseKey, array $licenseData)
[/php]

DESCRIPTION

Adds a new license to the database.

PARAMETERS

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

$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#24

Share this Doc

lmfwc_add_license()

Or copy link

CONTENTS
Scroll to Top