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()).


Top ↑

Parameters Parameters

$strings

(string[]) (Required) Array of secure strings.

$handle

(string) (Required) The log handle.


Top ↑

Return Return

(string[])


Top ↑

Source Source

File: includes/abstracts/abstract.llms.payment.gateway.php

658
659
660
661
662
663
664
665
666
667
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() );
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Load strings from retrieve_secure_strings().
6.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.