How to Remove Recommended Plugins Notice

How to Remove Recommended Plugins Notice

// Remove certain plugins
function my_recommended_plugins( $plugins ) {
    
    // Remove notice to install WooCommerce
    unset( $plugins['woocommerce'] );

    // Return plugins
    return $plugins;

}
add_filter( 'wpex_recommended_plugins', 'my_recommended_plugins' );

// Remove all plugins
// THIS IS NOT RECOMMENDED IF YOU ARE USING SOME OF THE PLUGINS SINCE THE NOTICE IS IS ALSO USED TO LET YOU KNOW OF UPDATES
add_filter( 'wpex_recommended_plugins', '__return_empty_array' );

Add the above snippet to theme’s functions.php file.

Avatar

Kadnetworks Limited

Kadnetworks is an information, networks and communication technology firm with a lucid experience of more than 10 years in formulating smart solutions. We believes in establishing transparent communication across organization for effective implementation of projects.