🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-06 05:43:00 | PHP 8.2.32
📂
/ (Root)
/
home
/
eliteewa
/
staging.eliteewallet.com
/
wp-content
/
themes
/
avas
/
inc
📍 /home/eliteewa/staging.eliteewallet.com/wp-content/themes/avas/inc
🔄 Refresh
✏️
Editing: tgm.php
Writable
<?php /** * * @package tx * @author theme-x * @link https://theme-x.org/ * ====================================================================== * Plugins include * ====================================================================== */ require_once get_template_directory() . '/inc/class-tgm-plugin-activation.php'; add_action( 'tgmpa_register', 'tx_register_required_plugins' ); function tx_register_required_plugins() { $plugins = array( // Avas Core array( 'name' => esc_html__( 'Avas Core', 'avas' ), // The plugin name. 'slug' => 'avas-core', // The plugin slug (typically the folder name). 'source' => TX_THEME_DIR . 'inc/plugins/avas-core.zip', 'required' => true, // If false, the plugin is only 'recommended' instead of required. '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. ), array( 'name' => esc_html__( 'One Click Demo Import', 'avas' ), // The plugin name. 'slug' => 'one-click-demo-import', // The plugin slug (typically the folder name). 'required' => true, // If false, the plugin is only 'recommended' instead of required. '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. ), ); $config = array( 'id' => 'tx', // Unique ID for hashing notices for multiple instances of TGMPA. 'default_path' => '', // Default absolute path to bundled plugins. 'menu' => 'manage-plugins', // Menu slug. 'has_notices' => false, // 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' => true, // Automatically activate plugins after installation or not. 'message' => '',//esc_html__( 'Autoptimize plugin will increase page load time. Install WPBakery if you will not use Elementor.', 'avas' ), // Message to output right before the plugins table. ); tgmpa( $plugins, $config ); } /* --------------------------------------------------------- EOF ------------------------------------------------------------ */
💾 Save Changes
❌ Cancel