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_update_license_meta()

Estimated reading: 1 minute 1800 views
[php]function lmfwc_update_license_meta(int $licenseId, string $metaKey, mixed $metaValue, mixed $previousValue = null)[/php]

DESCRIPTION

Updates an existing license meta entry. If the meta key doesn’t already exist, a new row in the database table will be added. If the $previousValue parameter is passed, the meta entry with that value will be updated.

PARAMETERS

$licenseId (string) (Required)
The ID of the license key.

$metaKey (string) (Required)
Name of the meta entry.

$metaValue (mixed) (Required)
Value of the meta entry.

$previousValue (mixed) (Optional)
The previous value of the meta entry.

RETURN VALUE

(bool)
True on success, false on failure.

SOURCE CODE

/includes/functions/lmfwc-meta-functions.php#107

Share this Doc

lmfwc_update_license_meta()

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.