LLMS_Helper_Keys::deactivate_keys( array $keys )
Deactivate LifterLMS API keys with remote server
Parameters Parameters
- $keys
-
(array) (Required) Array of keys.
Return Return
(array)
Source Source
File: libraries/lifterlms-helper/includes/class-llms-helper-keys.php
) ); } } } } /** * Deactivate LifterLMS API keys with remote server * * @since 3.0.0 * @since 3.4.1 Ensure key exists before attempting to deactivate it. * @since 3.5.0 Deleting any cached activation result. * * @param array $keys Array of keys. * @return array */ public static function deactivate_keys( $keys ) { $keys = array_map( 'sanitize_text_field', $keys );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.4.1 | Ensure key exists before attempting to deactivate it. |
3.0.0 | Introduced. |