0xsec Shell
0xSec


Server : LiteSpeed
System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : rahcos ( 1533)
PHP Version : 8.4.23
Disable Function : NONE
Directory :  /home/rahcos/.trash/wp-content/themes/hara/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/rahcos/.trash/wp-content/themes/hara/inc/functions-plugins.php
<?php

if (!function_exists('hara_register_required_plugins')) {
    function hara_register_required_plugins()
    {
        $plugins[] =(array(
            'name'                     => 'Cmb2',
            'slug'                     => 'cmb2',
            'required'                 => true,
        ));

        $plugins[] =(array(
            'name'                     => 'WooCommerce',
            'slug'                     => 'woocommerce',
            'required'                 => true,
        ));

        $plugins[] =(array(
            'name'                     => 'MailChimp',
            'slug'                     => 'mailchimp-for-wp',
            'required'                 =>  false
        ));

        $plugins[] =(array(
            'name'                     => 'WPForms Lite',
            'slug'                     => 'wpforms-lite',
            'required'                 => false,
        ));

        $plugins[] =(array(
            'name'                     => 'WPthembay Core',
            'slug'                     => 'wpthembay',
            'required'                 => true ,
            'source'         		   => esc_url('plugins.thembay.com/wpthembay.zip'),
        ));

        $plugins[] =(array(
            'name'                     => 'Redux Framework',
            'slug'                     => 'redux-framework',
            'required'                 => true,
        ));

        $plugins[] =(array(
            'name'                     => 'YITH WooCommerce Wishlist',
            'slug'                     => 'yith-woocommerce-wishlist',
            'required'                 =>  true
        ));

        $plugins[] =(array(
            'name'                     => 'WooCommerce Variation Swatches',
            'slug'                     => 'woo-variation-swatches',
            'required'                 =>  true,
            'source'         		   => esc_url('downloads.wordpress.org/plugin/woo-variation-swatches.zip'),
        ));

        $plugins[] =(array(
            'name'                     => 'WooCommerce Products Filter',
            'slug'                     => 'woocommerce-products-filter',
            'required'                 =>  false,
            'source'         		   => esc_url('plugins.thembay.com/woocommerce-products-filter.zip'),
        ));
        
        $plugins[] =(array(
            'name'                     => 'Elementor',
            'slug'                     => 'elementor',
            'required'                 => true,
        ));

        $plugins[] =(array(
            'name'                     => 'Slider Revolution',
            'slug'                     => 'revslider',
            'required'                 => true ,
            'source'         		   => esc_url('plugins.thembay.com/revslider.zip'),
        ));

        /*
         * 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'           => 'hara',
            // Unique ID for hashing notices for multiple instances of TGMPA.
            'default_path' => '',
            // Default absolute path to bundled plugins.
            '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);
    }
    add_action('tgmpa_register', 'hara_register_required_plugins');
}

c0oded By c0rpz