esc_html__('One Click Demo Import','blogever'), 'slug' => esc_html__('one-click-demo-import','blogever'), 'required' => false, ), array( 'name' => esc_html__('blogever Custom Features','blogever'), // The plugin name. 'slug' => esc_html__('blogever-custom-features','blogever'), // The plugin slug (typically the folder name). 'source' => 'http://userthemes.com/wp-content/uploads/blogever-custom-features.zip', // The plugin source. 'required' => true, // If false, the plugin is only 'recommended' instead of required. 'version' => '1.0', // E.g. 1.0.0. If set, the active plugin must be this version or higher. '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' => 'blogever-tgmpa', // Unique ID for hashing notices for multiple instances of TGMPA. 'menu' => 'blogever-plugins', // 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. 'is_automatic' => true, // Automatically activate plugins after installation or not. 'strings' => array( 'page_title' => esc_html__( 'Install Required Plugins', 'blogever' ), 'menu_title' => esc_html__( 'Install Plugins', 'blogever' ), 'installing' => esc_html__( 'Installing Plugin: %s', 'blogever' ) // %s = plugin name. ) ); tgmpa( $plugins, $config ); } endif;