LLMS_Helper_Keys::remove_license_key( string $key )
Remove a single license key
Parameters Parameters
- $key
-
(string) (Required) License key.
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
public static function remove_license_key( $key ) { $keys = llms_helper_options()->get_license_keys(); if ( isset( $keys[ $key ] ) ) { unset( $keys[ $key ] ); } return llms_helper_options()->set_license_keys( $keys ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |