LLMS_Payment_Gateway::get_subscription_url( string $subscription_id, string $api_mode = 'live' )

Gateways can override this to return a URL to a subscription permalink on the gateway’s website


Description Description

If this is not defined, it will just return the supplied ID.


Top ↑

Parameters Parameters

$subscription_id

(string) (Required) Gateway's subscription 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_subscription_url( $subscription_id, $api_mode = 'live' ) {
		return $subscription_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.