esc_html__( 'King Composer', 'calibar' ), 'slug' => 'kingcomposer', 'required' => false, ), array( 'name' => esc_html__( 'ThemeRegion Companion', 'calibar' ), 'slug' => 'themeregion-companion', 'required' => false, ), array( 'name' => esc_html__( 'Redux Framework', 'calibar' ), 'slug' => 'redux-framework', 'required' => false, ), array( 'name' => esc_html__( 'One Click Demo Import', 'calibar' ), 'slug' => 'one-click-demo-import', 'required' => false, ), array( 'name' => esc_html__( 'Contact Form 7', 'calibar' ), 'slug' => 'contact-form-7', 'required' => false, ), array( 'name' => esc_html__( 'Mailchimp For WordPress', 'calibar' ), 'slug' => 'mailchimp-for-wp', 'required' => false, ), array( 'name' => esc_html__( 'Social Share Button', 'calibar' ), 'slug' => 'social-share-button', 'required' => false, ), array( 'name' => esc_html__( 'Regenerate Thumbnails', 'calibar' ), 'slug' => 'regenerate-thumbnails', 'required' => false, ), ); $config = array( 'default_path' => '', // Default absolute path to pre-packaged plugins. 'menu' => 'calibar-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' => true, // Automatically activate plugins after installation or not. 'message' => '', // Message to output right before the plugins table. ); tgmpa( $plugins, $config ); } }