LLMS_Payment_Gateway_Manual::get_settings_fields( array $fields, string $gateway_id )

Get admin setting fields

Parameters Parameters


(array) (Required) default fields


(string) (Required) gateway ID

Top ↑

Return Return


Top ↑

Source Source

File: includes/class.llms.gateway.manual.php

	public function get_settings_fields( $fields, $gateway_id ) {

		if ( $this->id !== $gateway_id ) {
			return $fields;

		$fields[] = array(
			'id'    => $this->get_option_name( 'payment_instructions' ),
			'desc'  => '<br>' . __( 'Displayed to the user when this gateway is selected during checkout. Add information here instructing the student on how to send payment.', 'lifterlms' ),
			'title' => __( 'Payment Instructions', 'lifterlms' ),
			'type'  => 'textarea',

		return $fields;


Top ↑

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.