LLMS_Payment_Gateway::log()
Log messages if logging is enabled
Return Return
(void)
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 | public function log() { if ( ! llms_parse_bool( $this ->get_logging_enabled() ) ) { return ; } add_filter( 'llms_secure_strings' , array ( $this , 'get_secure_strings' ), 10, 2 ); foreach ( func_get_args() as $data ) { llms_log( $data , $this ->get_id() ); } remove_filter( 'llms_secure_strings' , array ( $this , 'get_secure_strings' ), 10, 2 ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.4.0 | Load the gateway's secure_option settings into llms_secure_strings hook when logging. |
3.0.0 | Introduced. |