HEX
Server: nginx/1.18.0
System: Linux vcwordpress 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/bharti-foundation.stgviitor.com/wp-content/themes/lifeline/includes/Classes/Tgmpa.php
<?php

/**
 * @package     LifeLine
 * @author      webinane team <[email protected]>
 * @since       5.0.0
 */

namespace Lifeline\Classes;

class Tgmpa
{

	private static $plugins = array();

	static function init()
	{
		self::plugins();
		self::run();
	}

	static function plugins()
	{
		$plugins = array(

			'revslider'              => array(
				'name'               => esc_html__('Revolution Slider', 'lifeline'),
				'slug'               => 'revslider',
				'source'             => 'https://webinane-themes-plugins.s3.amazonaws.com/revslider.zip',
				'force_deactivation' => false,
				'file_path'          => ABSPATH . 'wp-content/plugins/revslider/revslider.php',
				'preselected'		=>	true,
				'required'			=>	true,
			),
			'lifeline-plugin'                => array(
				'name'               => esc_html__('Lifeline Plugin', 'lifeline'),
				'slug'               => 'lifeline-plugin',
				'source'             => 'https://webinane-themes-plugins.s3.amazonaws.com/lifeline-elementor/lifeline-plugin.zip',
				'preselected'		=>	true,
				'required'			=>	true,
				'force_deactivation' => false,
				'version'            => '2.3',
				'file_path'          => ABSPATH . 'wp-content/plugins/lifeline-plugin/lifeline-plugin.php',
			),
			'webinane-redux'         => array(
				'name'               => esc_html__('Webinane Redux', 'lifeline'),
				'slug'               => 'redux-framework',
				'required' => true,
				'preselected'		=>	true,
			),
	
			'max-megamenu' => array(
				'name'               => esc_html__('Max Mega Menu', 'lifeline'),
				'slug'               => 'megamenu',
				'required' => true,
				'preselected'		=>	true,
			),

			'lifeline-donation-pro'   => array(
				'name'               => esc_html__('Lifeline Donation Pro', 'lifeline'),
				'slug'               => 'lifeline-donation-pro',
				'source'             => 'https://webinane-themes-plugins.s3.us-east-1.amazonaws.com/lifeline-elementor/lifeline-donation-pro.zip',
				'required'           => false,
				'force_deactivation' => false,
				'preselected'		=>	true,
				'version'            => '2.2.4',
				'file_path'          => ABSPATH . 'wp-content/plugins/lifeline-donation-pro/lifeline-donation-pro.php',
			),
	
			'webinane-responsive-header' => array(
				'name'               => esc_html__('Webinane Responsive Header', 'lifeline'),
				'slug'               => 'webinane-responsive-header',
				'source'             => 'https://webinane-themes-plugins.s3.amazonaws.com/webinane-responsive-header-v1.0.4.zip',
				'force_deactivation' => false,
				'required'           => true,
				'preselected'		=>	true,
				'version'            => '1.0.4',
				'file_path'          => ABSPATH . 'wp-content/plugins/webinane-responsive-header/webinane-responsive-header.php',
			),
	
			'envato-market'                   => array(
				'name'        => esc_html__('Envato Market', 'esperto'),
				'slug'        => 'envato-market',
				'source'      => 'https://envato.github.io/wp-envato-market/dist/envato-market.zip',
				'required'    => false,
				'preselected'		=>	true,
				'recommended' => true,
			),
	
			'mailchimp-for-wp'                => array(
				'name'     => esc_html__('MC4WP', 'lifeline'),
				'slug'     => 'mailchimp-for-wp',
				'required' => true,
				'preselected'		=>	true,
			),
	
			'woocommerce'                     => array(
				'name' => esc_html__('Woocommerce', 'lifeline'),
				'slug' => 'woocommerce',
				'preselected'	=> true,
			),
	
			'elementor'                       => array(
				'name'     => esc_html__('Elementor', 'lifeline'),
				'slug'     => 'elementor',
				'required' => true,
				'preselected'	=>	true,
			),
	
			'webinane-elementor'                   => array(
				'name'        => esc_html__('Webinane Elementor', 'esperto'),
				'slug'        => 'webinane-elementor',
				'source'      => 'https://webinane-themes-plugins.s3.amazonaws.com/webinane-elementor.zip',
				'version'	=>	'1.8',
				'required'    => true,
				'preselected'		=>	true,
				'recommended' => true,
			),
	
			'contact-form-7'                  => array(
				'name'     => esc_html__('Contact Form 7', 'lifeline'),
				'slug'     => 'contact-form-7',
				'required' => true,
				'preselected'	=>	true,
			),
			'classic-editor'                  => array(
				'name' => esc_html__('Classic Editor', 'lifeline'),
				'slug' => 'classic-editor',
				'preselected'	=>	true,
			),

			'ocdi'                       => array(
				'name'     => esc_html__('One Click Demo Import', 'lifeline'),
				'slug'     => 'one-click-demo-import/',
				'required' => true,
			),

		);
		// phpcs:ignore WordPress
		$plugins = apply_filters('lifeline/tgmpa-plugins', $plugins);

		self::$plugins = $plugins;
	}

	static function run()
	{
		/*Change this to your theme text domain, used for internationalising strings.*/
		$config = array(
			'id'           => 'tgmpa',
			'default_path' => '',
			'menu'         => 'tgmpa-install-plugins',
			'parent_slug'  => 'themes.php',
			'capability'   => 'edit_theme_options',
			'has_notices'  => true,
			'dismissable'  => true,
			'dismiss_msg'  => '',
			'is_automatic' => false,
			'message'      => '',
		);
		tgmpa(self::$plugins, $config);
	}
}