403Webshell
Server IP : 172.67.147.195  /  Your IP : 216.73.216.142
Web Server : Apache/2
System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : mienphi ( 1014)
PHP Version : 8.2.14
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mienphi/public_html/wp-content/plugins/learnpress-stripe/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mienphi/public_html/wp-content/plugins/learnpress-stripe/config/settings.php
<?php
/**
 * Settings for Stripe payment gateway.
 */

return apply_filters(
	'learn-press/gateway-payment/stripe/settings',
	array(
		[ 'type' => 'title' ],
		array(
			'title'   => esc_html__( 'Enable', 'learnpress-stripe' ),
			'id'      => '[enable]',
			'default' => 'no',
			'type'    => 'yes-no',
		),
		array(
			'type'       => 'text',
			'title'      => esc_html__( 'Title', 'learnpress-stripe' ),
			'default'    => esc_html__( 'Stripe', 'learnpress-stripe' ),
			'id'         => '[title]',
			'class'      => 'regular-text',
			'visibility' => array(
				'state'       => 'show',
				'conditional' => array(
					array(
						'field'   => '[enable]',
						'compare' => '=',
						'value'   => 'yes',
					),
				),
			),
		),
		array(
			'title'      => esc_html__( 'Redirect Payment to Stripe Page', 'learnpress-stripe' ),
			'id'         => '[direct_payment_on_stripe_page]',
			'default'    => 'no',
			'type'       => 'yes-no',
			'visibility' => array(
				'state'       => 'show',
				'conditional' => array(
					array(
						'field'   => '[enable]',
						'compare' => '=',
						'value'   => 'yes',
					),
				),
			),
		),
		array(
			'type'       => 'textarea',
			'title'      => esc_html__( 'Description', 'learnpress-stripe' ),
			'default'    => esc_html__( 'Pay with Stripe', 'learnpress-stripe' ),
			'id'         => '[description]',
			'editor'     => array(
				'textarea_rows' => 5,
			),
			'css'        => 'height: 100px;',
			'visibility' => array(
				'state'       => 'show',
				'conditional' => array(
					array(
						'field'   => '[enable]',
						'compare' => '=',
						'value'   => 'yes',
					),
				),
			),
		),
		array(
			'title'      => esc_html__( 'Live secret key', 'learnpress-stripe' ),
			'id'         => '[live_secret_key]',
			'type'       => 'text',
			'visibility' => array(
				'state'       => 'show',
				'conditional' => array(
					array(
						'field'   => '[enable]',
						'compare' => '=',
						'value'   => 'yes',
					),
					array(
						'field'   => '[test_mode]',
						'compare' => '!=',
						'value'   => 'yes',
					),
				),
			),
		),
		array(
			'type'       => 'text',
			'title'      => esc_html__( 'Live publish key', 'learnpress-stripe' ),
			'default'    => '',
			'id'         => '[live_publish_key]',
			'visibility' => array(
				'state'       => 'show',
				'conditional' => array(
					array(
						'field'   => '[enable]',
						'compare' => '=',
						'value'   => 'yes',
					),
					array(
						'field'   => '[test_mode]',
						'compare' => '!=',
						'value'   => 'yes',
					),
				),
			),
		),
		array(
			'title'      => esc_html__( 'Enable test mode', 'learnpress-stripe' ),
			'id'         => '[test_mode]',
			'default'    => 'no',
			'type'       => 'yes-no',
			'visibility' => array(
				'state'       => 'show',
				'conditional' => array(
					array(
						'field'   => '[enable]',
						'compare' => '=',
						'value'   => 'yes',
					),
				),
			),
		),
		array(
			'type'       => 'text',
			'title'      => esc_html__( 'Test secret key', 'learnpress-stripe' ),
			'default'    => '',
			'id'         => '[test_secret_key]',
			'visibility' => array(
				'state'       => 'show',
				'conditional' => array(
					array(
						'field'   => '[enable]',
						'compare' => '=',
						'value'   => 'yes',
					),
					array(
						'field'   => '[test_mode]',
						'compare' => '=',
						'value'   => 'yes',
					),
				),
			),
		),
		array(
			'type'       => 'text',
			'title'      => esc_html__( 'Test publish key', 'learnpress-stripe' ),
			'default'    => '',
			'id'         => '[test_publish_key]',
			'visibility' => array(
				'state'       => 'show',
				'conditional' => array(
					array(
						'field'   => '[enable]',
						'compare' => '=',
						'value'   => 'yes',
					),
					array(
						'field'   => '[test_mode]',
						'compare' => '=',
						'value'   => 'yes',
					),
				),
			),
		),
		[ 'type' => 'sectionend' ],
	)
);

Youez - 2016 - github.com/yon3zu
LinuXploit