functions.php
/**
 * Display recommended plugins with the TGM class
 */
Display recommended plugins with the TGM class
Display recommended plugins with the TGM class
function vogue_register_required_plugins() {
	$plugins = array(
		array(
			'name'      => __( 'Elementor Page Builder', 'vogue' ),
			'slug'      => 'elementor',
			'required'  => false,
		),
		array(
			'name'      => __( 'WooCommerce', 'vogue' ),
			'slug'      => 'woocommerce',
			'required'  => false,
		),
		array(
			'name'      => __( 'Contact Form by WPForms', 'vogue' ),
			'slug'      => 'wpforms-lite',
			'required'  => false,
		),
		array(
			'name'      => __( 'Breadcrumb NavXT', 'vogue' ),
			'slug'      => 'breadcrumb-navxt',
			'required'  => false,
		),
		array(
			'name'      => __( 'Meta Slider', 'vogue' ),
			'slug'      => 'ml-slider',
			'required'  => false,
		)
	);
	$config = array(
		'id'           => 'vogue',
		'menu'         => 'tgmpa-install-plugins',
	);
	tgmpa( $plugins, $config );
}
function vogue_register_required_plugins ( ) { $ plugins = array ( array ( 'name' => __ ( 'Elementor Page Builder' , 'vogue' ) , 'slug' => 'elementor' , 'required' => false , ) , array ( 'name' => __ ( 'WooCommerce' , 'vogue' ) , 'slug' => 'woocommerce' , 'required' => false , ) , array ( 'name' => __ ( 'Contact Form by WPForms' , 'vogue' ) , 'slug' => 'wpforms-lite' , 'required' => false , ) , array ( 'name' => __ ( 'Breadcrumb NavXT' , 'vogue' ) , 'slug' => 'breadcrumb-navxt' , 'required' => false , ) , array ( 'name' => __ ( 'Meta Slider' , 'vogue' ) , 'slug' => 'ml-slider' , 'required' => false , ) ) ; $ config = array ( 'id' => 'vogue' , 'menu' => 'tgmpa-install-plugins' , ) ; tgmpa ( $ plugins , $ config ) ; }
Display recommended plugins with the TGM class
Display recommended plugins with the TGM class
// The recommended WordPress.org plugins.