How to disable JetPack nag messages in the WordPress Admin interface

- by

I really like WordPress, and I really like JetPack. I use the plugin on many client websites, who usually have their own  account, which is necessary to enable the plugin successfully.

Most of them however choose not to sign up for a payment plan, which as of 2017 leads to (now rather annoyingly frequent) JetPack upsell messages at the top of the admin screen. So I as the administrator, am constantly exposed to such messages, and I was wondering how to suppress them – not being the target audience here.

Thanks to a super helpful article by Matt Medeiros I found a great solution with this one-liner of code he as kindly supplied on his website, together with his opinion on such messages:

/* remove JetPack upsell messages */
/* */
add_filter( 'jetpack_just_in_time_msgs', '__return_false' );

Add this to your child theme’s functions.php file and those admin nags are history!

Thanks Matt!

If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site witout any pesky ads! More details here.

10 thoughts on “How to disable JetPack nag messages in the WordPress Admin interface”

  1. Ay caramba! Thanks for letting me know 🙂
    It seems to work fine with a single underscore, what’s the difference? I must admit that I’m not familiar with that notation in this context. I’d expect something like just plain “false”.

Add your voice!

This site uses Akismet to reduce spam. Learn how your comment data is processed.