LLMS_Payment_Gateway::get_fields()

Get fields displayed on the checkout form


Description Description

Gateways should define this function if the gateway supports fields.


Top ↑

Return Return

(string)


Top ↑

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 );
	}


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.