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 ------------------------------------------------------------ */