lmfwc_update_license_meta()
[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.