learndash_validate_hub_license( string $email, string $license_key, bool $force_check = false )
Validate a license key.
Description #
Parameters #
-
(string) (Required) The email address of the license key.
- $license_key
-
(string) (Required) The license key.
- $force_check
-
(bool) (Optional) Whether to force a check.
Default value: false
Return #
(bool) True if the license key is valid. False otherwise.
Source #
File: includes/ld-license.php
Changelog #
Version | Description |
---|---|
4.3.1 | |
4.20.2 | Introduced. Added $force_check param. |