esc_html__( 'WordPress Popular Posts', 'blogito' ), 'slug' => 'wordpress-popular-posts', 'required' => false, ), // MailChimp for WordPress from WordPress Plugin Repository. array( 'name' => esc_html__( 'MailChimp for WordPress', 'blogito' ), 'slug' => 'mailchimp-for-wp', 'required' => false, ), // Contact Form 7 from WordPress Plugin Repository. array( 'name' => esc_html__( 'Contact Form 7', 'blogito' ), 'slug' => 'contact-form-7', 'required' => false, ), // User Social Profiles from WordPress Plugin Repository. array( 'name' => esc_html__( 'User Social Profiles', 'blogito' ), 'slug' => 'user-social-profiles', 'required' => false, ), ); /** * Array of configuration settings. Amend each line as needed. * If you want the default strings to be available under your own theme domain, * leave the strings uncommented. * Some of the strings are added into a sprintf, so see the comments at the * end of each line for what each argument will be. */ $config = array( 'default_path' => '', // Default absolute path to pre-packaged plugins. 'menu' => 'tgmpa-install-plugins', // Menu slug. '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 ); }