Here’s a quick snippet to disable those (annoying) Jetpack ads and upsells that show in the WordPress dashboard if WooCommerce is active. Thankfully, Jetpack provides us with a filter, and hiding those banners is quite easy. Pity there is no option in the settings (as of now).
Here’s the 1-line PHP snippet for you – add it to your websites and avoid annoying banners for all users. Enjoy!
Snippet (PHP): Disable Jetpack Ad Banners @ WordPress/WooCommerce Admin
* @snippet Hide Jetpack Upsells @ WP Admin
* @how-to Watch tutorial @ https://businessbloomer.com/?p=19055
* @sourcecode https://businessbloomer.com/?p=108175
* @author Rodolfo Melogli
* @compatible WooCommerce 3.5.4
* @donate $9 https://businessbloomer.com/bloomer-armada/
add_filter( 'jetpack_just_in_time_msgs', '__return_false' );