LLMS_Payment_Gateway::get_source_url( string $source_id, string $api_mode = 'live' )
Gateways can override this to return a URL to a source permalink on the gateway’s website
Description Description
If this is not defined, it will just return the supplied ID.
Parameters Parameters
- $source_id
-
(string) (Required) Gateway's source ID.
- $api_mode
-
(string) (Optional) Link to either the live or test site for the gateway, where applicable.
Default value: 'live'
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
public function get_source_url( $source_id, $api_mode = 'live' ) { return $source_id; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |