LLMS_Helper_Keys::add_license_key( string $activation_data )
Add a single license key
Parameters Parameters
- $activation_data
-
(string) (Required) Array of activation details from api call.
Return Return
(boolean) True if option value has changed, false if not or if update failed.
Source Source
File: libraries/lifterlms-helper/includes/class-llms-helper-keys.php
} $req = new LLMS_Dot_Com_API( '/license/activate', $data ); set_site_transient( 'llms_helper_keys_activation_response_' . $cache_hash, $req->get_result(), HOUR_IN_SECONDS ); return $req->get_result(); } /** * Add a single license key * * @since 3.0.0 *
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |