HEX
Server:
System: Linux aac286ea486c 5.14.0-687.15.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 11 08:51:45 EDT 2026 x86_64
User: root (0)
PHP: 8.2.30
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,disk_free_space,diskfreespace
Upload Files
File: /dom877180/wp-content/themes/splash/includes/tgm/tgm-plugin-registration.php
<?php

require_once get_template_directory() . '/includes/tgm/class-tgm-plugin-activation.php';

add_action( 'tgmpa_register', 'stm_require_plugins' );

function stm_require_plugins() {
    $plugins_path = 'https://splash.stylemixthemes.com/demo-plugins';
	$plugins = array(
		array(
			'name'               => 'STM Configurations',
			'slug'               => 'stm-configurations',
			'source'             => $plugins_path . '/stm-configurations.zip',
			'required'           => true,
			'force_activation'   => false,
			'version'            => '4.0.3'
		),
        array(
            'name'               => 'STM Importer',
            'slug'               => 'stm_importer',
            'source'             => $plugins_path . '/stm-importer.zip',
            'required'           => false,
            'force_activation'   => false,
            'version'			 => '4.3.2'
        ),
        array(
            'name'               => 'WPBakery Visual Composer',
            'slug'               => 'js_composer',
            'source'             => $plugins_path . '/js_composer.zip',
            'required'           => true,
            'force_activation'   => false,
            'version'            => '6.6.0',
            'external_url'       => 'http://vc.wpbakery.com',
        ),
        array(
            'name'               => 'Revolution Slider',
            'slug'               => 'revslider',
            'source'             => $plugins_path . '/revslider.zip',
            'required'           => false,
            'version'            => '6.4.11',
            'external_url'       => 'https://revolution.themepunch.com/'
        ),
        array(
            'name'              => 'Breadcrumb NavXT',
            'slug'              => 'breadcrumb-navxt',
            'required'          => false,
            'force_activation'  => false,
        ),
        array(
            'name'              => 'Contact Form 7',
            'slug'              => 'contact-form-7',
            'required'          => false,
            'force_activation'  => false,
        ),
        array(
            'name'              => 'Woocommerce',
            'slug'              => 'woocommerce',
            'required'          => false,
            'force_activation'  => false,
        ),
        array(
            'name'              => 'SportsPress',
            'slug'              => 'sportspress',
            'required'          => true,
            'force_activation'  => false,
        ),
		array(
			'name'         => 'Spotlight Social Media Feeds',
			'slug'         => 'spotlight-social-photo-feeds',
			'required'     => false,
		),
		array(
			'name'         => 'MailChimp for WordPress',
			'slug'         => 'mailchimp-for-wp',
			'required'     => false,
			'external_url' => 'https://mc4wp.com/'
		),
        array(
            'name' => 'AddToAny Share Buttons',
            'slug' => 'add-to-any',
            'required' => false,
            'external_url' => 'https://www.addtoany.com/'
        ),
	);

	$config = array(
		'id' => 'tgm_message_update',
		'strings' => array(
			'nag_type' => 'update-nag'
		)
	);

	if (splash_is_layout('af') || splash_is_layout("sccr") || splash_is_layout("hockey") || splash_is_layout("rugby")) {
		$plugins[] = array(
			'name' => 'Custom Twitter Feeds',
			'slug' => 'custom-twitter-feeds',
			'required' => true,
			'external_url' => 'http://smashballoon.com/'
		);
	}

    if (splash_is_layout('magazine_one') || splash_is_layout('soccer_news')) {
            $plugins[] = array(
                'name' => 'AccessPress Social Counter',
                'slug' => 'accesspress-social-counter',
                'required' => false,
                'external_url' => 'http://accesspressthemes.com'
            );
        }

	tgmpa( $plugins, $config );

}