lmfwc_update_license_meta()

Estimated reading: 1 minute 154 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