LLMS_Payment_Gateway::get_fields()
Get fields displayed on the checkout form
Description Description
Gateways should define this function if the gateway supports fields.
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
public function get_fields() {
/**
* Filters the HTML of the gateway's checkout fields
*
* @since 3.0.0
*
* @param string $fields Fields HTML string.
* @param string $gateway_id The payment gateway's ID.
*/
return apply_filters( 'llms_get_gateway_fields', '', $this->id );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |