LLMS_Payment_Gateway_Manual::__construct()
Constructor
Contents
Return Return
(void)
Source Source
File: includes/class.llms.gateway.manual.php
public function __construct() { $this->id = 'manual'; $this->admin_description = __( 'Collect manual or offline payments. Also handles any free orders during checkout.', 'lifterlms' ); $this->admin_title = __( 'Manual', 'lifterlms' ); $this->title = __( 'Manual', 'lifterlms' ); $this->description = __( 'Pay manually via check', 'lifterlms' ); $this->payment_instructions = ''; // Fields. $this->supports = array( 'checkout_fields' => false, 'refunds' => false, // Manual refunds are available always for all gateways and are not handled by this class. 'single_payments' => true, 'recurring_payments' => true, 'test_mode' => false, ); add_filter( 'llms_get_gateway_settings_fields', array( $this, 'get_settings_fields' ), 10, 2 ); add_action( 'lifterlms_before_view_order_table', array( $this, 'before_view_order_table' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |