Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
EDD_License::maybe_set_pass_flag( string $license, object $api_data )
If the supplied license key is for a pass, updates the edd_pass_licenses
option with the pass ID and the date it was checked.
Description Description
Note: It’s intentional that the edd_pass_licenses
option is always updated, even if the provided license data is not for a pass. This is so we have a clearer idea of when the checks started coming through. If the option doesn’t exist in the DB at all, then we haven’t checked any licenses.
Parameters Parameters
- $license
-
(Required)
- $api_data
-
(Required)
Source Source
File: includes/class-edd-license-handler.php
Changelog Changelog
Version | Description |
---|---|
2.10.6 | Introduced. |