Warning: This method has been deprecated. Deprecated in favor of LLMS_Controller_Checkout::switch_payment_source() instead.

LLMS_Controller_Orders::switch_payment_source()

Handle form submission of the “Update Payment Method” form on the student dashboard when viewing a single order.


Return Return

(void)


Top ↑

Source Source

File: includes/controllers/class.llms.controller.orders.php

	public function switch_payment_source() {
		_deprecated_function( __METHOD__, '7.0.0', 'LLMS_Controller_Checkout::switch_payment_source' );
		LLMS_Controller_Checkout::instance()->switch_payment_source();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Deprecated in favor of LLMS_Controller_Checkout::switch_payment_source().
5.9.0 Stop using deprecated FILTER_SANITIZE_STRING.
3.35.0 Sanitize $_POST data.
3.19.0 Unknown.
3.10.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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