LLMS_Payment_Gateway::get_secure_strings( string[] $strings, string $handle )
Adds the gateway’s registered secured strings to the default list of site-wide secure strings.
Description Description
This is the callback for the llms_secure_strings filter (called via llms_log()).
Parameters Parameters
- $strings
-
(string[]) (Required) Array of secure strings.
- $handle
-
(string) (Required) The log handle.
Return Return
(string[])
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
public function get_secure_strings( $strings, $handle ) {
// Don't add our strings to other log files.
if ( $this->id !== $handle ) {
return $strings;
}
return array_merge( $strings, $this->retrieve_secure_strings() );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.0.0 | Load strings from retrieve_secure_strings(). |
| 6.4.0 | Introduced. |