# learnpress/4.4.2/config/settings/gateway/offline-payment.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.2. 43 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.2/code/config/settings/gateway/offline-payment.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.2/raw/config/settings/gateway/offline-payment.php
- Modified: 2026-07-11T02:31:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.4.2/code/config/settings/gateway/offline-payment.php#L10-L20`.

```php
<?php
/**
 * Fields settings Offline Payment
 */

/**
 * @var LP_Gateway_Offline_Payment $lp_gateway_offline_payment
 */
if ( ! isset( $lp_gateway_offline_payment ) ) {
	return [];
}

return apply_filters(
	'learn-press/gateway-payment/offline-payment/settings',
	array(
		array(
			'type' => 'title',
		),
		array(
			'title'   => __( 'Enable', 'learnpress' ),
			'id'      => '[enable]',
			'default' => 'yes',
			'type'    => 'checkbox',
		),
		array(
			'title'   => __( 'Testing Mode', 'learnpress' ),
			'id'      => '[sandbox]',
			'default' => 'no',
			'type'    => 'checkbox',
			'desc'    => __( 'Auto complete the order for testing purpose.', 'learnpress' ),
		),
		array(
			'title'   => __( 'Instruction', 'learnpress' ),
			'id'      => '[description]',
			'default' => $lp_gateway_offline_payment->description,
			'type'    => 'textarea',
		),
		array(
			'type' => 'sectionend',
		),
	)
);

```
