Snippet: Remove Recommended Plugins Notice
Important: You can now disable the recommended plugins via the Theme Panel. No need to use code!
// 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' );
All PHP snippets should be added via child theme's functions.php file or via a plugin.
We recommend Code Snippets (100% Free) or WPCode (sponsored)
We recommend Code Snippets (100% Free) or WPCode (sponsored)