Skip to main content
Nieuws

Snippets: Remove Recommended Plugins Notice

Snippets: 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’ );

Peter-Paul Rijsdijk

Peter-Paul Rijsdijk

Eigenaar Webstijlen / WordPress en Webhosting expert Vragen? 0643873811 / peterpaul@webstijlen.nl