Save up to 75% on Lifetime Plans – Limited Time Offer, Don't Miss Out!
Winter Sale Is Here
Exclusive Discount on Lifetime Plans
hrs
min
sec

Save up to 75% on Lifetime Plans – Limited Time Offer, Don't Miss Out!

Functions reference

lmfwc_add_license()

Estimated reading: 1 minute 2223 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
license manager plugin
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.