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.
Contents
Return Return
(void)
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(); }
Expand full source code Collapse full source code View on GitHub
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. |