wordpress/wp-content/themes/developry-lite/inc/theme-plugins.php
/**
	 * Configurate and attach plugins to Appearance > Install Plugins.
	 *
	 * @since 1.0.0
	 */
Configurate and attach plugins to Appearance > Install Plugins.
Configurate and attach plugins to Appearance > Install Plugins .
function developry_required_plugins() {
		$plugins = array(
			array(
				'name'     => 'Contact Form 7',
				'slug'     => 'contact-form-7',
				'required' => false,
			),
			array(
				'name'     => 'Developry Google Fonts',
				'slug'     => 'developry-google-fonts',
				'required' => false,
			),
		);
		$config = array(
			'id'           => 'developry-lite',
			'default_path' => '',
			'menu'         => 'tgmpa-install-plugins',
			'parent_slug'  => 'themes.php',
			'capability'   => 'edit_theme_options',
			'has_notices'  => true,
			'dismissable'  => false,
			'dismiss_msg'  => '',
			'is_automatic' => false,
			'message'      => '',
		);
		tgmpa( $plugins, $config );
	}
function developry_required_plugins ( ) { $ plugins = array ( array ( 'name' => 'Contact Form 7' , 'slug' => 'contact-form-7' , 'required' => false , ) , array ( 'name' => 'Developry Google Fonts' , 'slug' => 'developry-google-fonts' , 'required' => false , ) , ) ; $ config = array ( 'id' => 'developry-lite' , 'default_path' => '' , 'menu' => 'tgmpa-install-plugins' , 'parent_slug' => 'themes.php' , 'capability' => 'edit_theme_options' , 'has_notices' => true , 'dismissable' => false , 'dismiss_msg' => '' , 'is_automatic' => false , 'message' => '' , ) ; tgmpa ( $ plugins , $ config ) ; }
Configurate and attach plugins to Appearance > Install Plugins.
Configurate and attach plugins to Appearance > Install Plugins .