LLMS_Payment_Gateway_Manual::get_settings_fields( array $fields, string $gateway_id )
Get admin setting fields
Parameters Parameters
- $fields
-
(array) (Required) default fields
- $gateway_id
-
(string) (Required) gateway ID
Return Return
(array)
Source Source
File: includes/class.llms.gateway.manual.php
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | 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 ; } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |