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
* @since 3.35.0 Sanitize `$_POST` data. * @since 5.0.0 Build customer data using LLMS_Forms fields information. * @since 5.0.1 Delegate sanitization of user information fields of the `$_POST` to LLMS_Form_Handler::submit(). * @since 5.9.0 Stop using deprecated `FILTER_SANITIZE_STRING`.
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. |