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.


Top ↑

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'


Top ↑

Return Return

(string)


Top ↑

Source Source

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

	public function get_source_url( $source_id, $api_mode = 'live' ) {
		return $source_id;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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