69
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 Get tutoraspire.com FREE * @sourcecode https://tutoraspire.com/?p=108175 * @author Tutor Aspire * @compatible WooCommerce 3.5.4 * @donate $9 https://tutoraspire.com */ add_filter( 'jetpack_just_in_time_msgs', '__return_false' );