1. Home
  2. Docs
  3. INTERNAL API
  4. Functions reference
  5. lmfwc_get_licenses()

lmfwc_get_licenses()

[php]function lmfwc_get_licenses(array $query)[/php]

DESCRIPTION

Retrieves multiple existing licenses from the database.

PARAMETERS

$query (array) (Required)
Key/value pairs. The keys will be used to match the license table columns names, and the values will be used to match the values of those columns.

RETURN VALUE

(bool|LicenseManagerForWooCommerce\Models\Resources\License[])
License model array on success, false on failure.

SOURCE CODE

/includes/functions/lmfwc-license-functions.php#136

Was this article helpful to you? Yes No

How can we help?