HEX
Server: LiteSpeed
System: Linux sinope.sitehostingserver.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
User: aprilnet (1155)
PHP: 8.2.33
Disabled: popen,imap_mail,exec,passthru,system,shell_exec,proc_open,pcntl_exec,eval,allow_url_fopen,allow_url_include,mail,proc_get_status,get_cfg_var,disk_free_space,disk_total_space,diskfreespace,getmygid,getmyinode,getmypid,geymyuid,proc_nice,proc_terminate,proc_close,apache_child_terminate,chown,lchgrp,lchown,link,readlink,highlight_file,show_source,php_strip_whitespace,get_meta_tags,dl,leak,pfsockopen,event_new,pcntl_signal,pcntl_alarm,register_tick_function,apache_setenv,define_syslog_variables,escapeshellarg,escapeshellcmd,ini_alter,ini_restore,inject_code,openlog,syslog,xmlrpc_entity_decode,phpAds_remoteInfo,phpAds_XmlRpc,phpAds_xmlrpcDecode,phpAds_xmlrpcEncode,chgrp,php_eval,safe_dir,root,ftok,egy_perl,symlink,wscript
Upload Files
File: /home/aprilnet/public_html/hadoukencabs.com/wp-content/themes/trendymag/required-plugins/index.php
<?php
    /**
     * This file represents an example of the code that themes would use to register
     * the required plugins.
     *
     * It is expected that theme authors would copy and paste this code into their
     * functions.php file, and amend to suit.
     *
     * @see        http://tgmpluginactivation.com/configuration/ for detailed documentation.
     *
     * @package    TGM-Plugin-Activation
     * @subpackage Example
     * @version    2.6.1
     * @author     Thomas Griffin, Gary Jones, Juliette Reinders Folmer
     * @copyright  Copyright (c) 2011, Thomas Griffin
     * @license    http://opensource.org/licenses/gpl-2.0.php GPL v2 or later
     * @link       https://github.com/TGMPA/TGM-Plugin-Activation
     */
    /**
     * Include the TGM_Plugin_Activation class.
     */

    if ( ! defined( 'ABSPATH' ) ) :
        exit; // Exit if accessed directly
    endif;

    require get_template_directory() . "/required-plugins/class-tgm-plugin-activation.php";
    
    add_action( 'tgmpa_register', 'tt_theme_register_required_plugins' );
    /**
     * Register the required plugins for this theme.
     *
     * In this example, we register five plugins:
     * - one included with the TGMPA library
     * - two from an external source, one from an arbitrary source, one from a GitHub repository
     * - two from the .org repo, where one demonstrates the use of the `is_callable` argument
     *
     * The variable passed to tgmpa_register_plugins() should be an array of plugin
     * arrays.
     *
     * This function is hooked into tgmpa_init, which is fired within the
     * TGM_Plugin_Activation class constructor.
     */
    function tt_theme_register_required_plugins() {
        /*
         * Array of plugin arrays. Required keys are name and slug.
         * If the source is NOT from the .org repo, then source is also required.
         */

        $plugins = array(

            // Trendytheme Plugin
            array(
                'name'               => 'TrendyMag Theme Plugin',
                // The plugin name
                'slug'               => 'tt-plugin',
                // The plugin slug (typically the folder name)
                'source'             => 'http://104.131.177.38/demo2/plsrc/trendymag/tt-plugin-trendymag.zip',
                // The plugin source
                'required'           => TRUE,
                // If false, the plugin is only 'recommended' instead of required
                'version'            => '',
                // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented
                'force_activation'   => FALSE,
                // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch
                'force_deactivation' => FALSE,
                // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins
                'external_url'       => '',
                // If set, overrides default API URL and points to an external URL
            ),
            // Visual Composer
            array(
                'name'     => 'WPBakery Visual Composer',
                // The plugin name
                'slug'     => 'js_composer',
                // The plugin slug (typically the folder name)
                'source'   => 'http://104.131.177.38/demo2/plsrc/trendymag/js_composer.zip',
                // The plugin source
                'required' => TRUE,
                // If false, the plugin is only 'recommended' instead of required
            ),

            // Meta Box
            array(
                'name'     => 'Meta Box',
                'slug'     => 'meta-box',
                'required' => TRUE,
            ),

            // Contact Form 7
            array(
                'name'     => 'Contact Form 7',
                'slug'     => 'contact-form-7',
                'required' => TRUE,
            ),
            // MailChimp
            array(
                'name'     => 'MailChimp',
                'slug'     => 'mailchimp-for-wp',
                'required' => TRUE,
            ),

            // Redux Framework
            array(
                'name'     => 'Redux Framework',
                'slug'     => 'redux-framework',
                'required' => TRUE,
            ),
            // Black Studio TinyMCE Widget
            array(
                'name'     => 'Black Studio TinyMCE Widget',
                'slug'     => 'black-studio-tinymce-widget',
                'required' => FALSE,
            ),
            // Social Icon counter
            array(
                'name'     => 'Social Icon Counters',
                'slug'     => 'silicon-counters',
                'required' => FALSE,
            ),
            // Demo import
            array(
                'name'     => 'One Click Demo Import',
                'slug'     => 'one-click-demo-import',
                'required' => FALSE
            )
        );

        // Change this to your theme text domain, used for internationalising strings
        $theme_text_domain = 'trendymag';


        /*
         * Array of configuration settings. Amend each line as needed.
         *
         * TGMPA will start providing localized text strings soon. If you already have translations of our standard
         * strings available, please help us make TGMPA even better by giving us access to these translations or by
         * sending in a pull-request with .po file(s) with the translations.
         *
         * Only uncomment the strings in the config array if you want to customize the strings.
         */
        $config = array(
            'id'           => 'tgmpa',
            // Unique ID for hashing notices for multiple instances of TGMPA.
            'default_path' => '',
            // Default absolute path to bundled plugins.
            'menu'         => 'tgmpa-install-plugins',
            // Menu slug.
            'parent_slug'  => 'themes.php',
            // Parent menu slug.
            'capability'   => 'edit_theme_options',
            // Capability needed to view plugin install page, should be a capability associated with the parent menu used.
            'has_notices'  => TRUE,
            // Show admin notices or not.
            'dismissable'  => TRUE,
            // If false, a user cannot dismiss the nag message.
            'dismiss_msg'  => '',
            // If 'dismissable' is false, this message will be output at top of nag.
            'is_automatic' => FALSE,
            // Automatically activate plugins after installation or not.
            'message'      => '',
            // Message to output right before the plugins table.
            
        );
        tgmpa( $plugins, $config );
    }