Snippet: Remove Certain Plugins From Recommended Plugins List
Important: It's now possible to remove certain plugins via the Theme Panel since version 5.4.5
// Remove Certain Plugins From Recommended Plugins List
// NOTE: Comment out or remove the code for any plugin you wish to keep
add_filter( 'wpex_recommended_plugins', function( $plugins ) {
// Remove notice to install Total Theme Core
unset( $plugins['total-theme-core'] );
// Remove notice to install WPbakery Page Builder
unset( $plugins['js_composer'] );
// Remove Slider Revolution
unset( $plugins['revslider'] );
// Return plugins
return $plugins;
} );
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)