apply_filters( 'llms_secure_strings', string[] $secure_strings , string $handle )
Filters a list of “secure” strings which should be anonymized prior to logging.
Description Description
A plugin or theme that might log potentially sensitive data (such as API keys), the API key strings can be registered with this filter to automatically be anonymized if they are found within logs.
Parameters Parameters
- $secure_strings
-
(string[]) An array of secure strings that should be anonymized.
- $handle
-
(string) The log handle. This can be used to only register strings for a specific log file.
Source Source
Changelog Changelog
Version | Description |
---|---|
6.4.0 | Introduced. |