Intro

I am working with WordPress from long time. There are lots of thing it's hard to find. Today I solve a problem, In most of WordPress site we use jetpack by WordPress.com. It's a good plugin, but sometime it's developer mode got active and in there setting we unable to find the option for deactivate developer mode. So, after long research I find a solution which is perfect and work. I always forget and need to do the research again so I am writing here for share with you and keep for me too.

Solution

add_filter( ‘jetpack_development_mode’, ‘__return_false’ );

Add this code in your theme functions.php. That will do the work.

*Note: If you have the option in the setting to turn off developer mode. Then you don't need to Follow that. It's for them which don't have. But still it will work that who has the option too.