Navigation Menu

Skip to content

Commit

Permalink
Updated with Automattic's suggestion
Browse files Browse the repository at this point in the history
Commented add_filter line, with context, after testing WP to ensure it would still load and not observing any adverse effects.
  • Loading branch information
tsaomao committed Oct 10, 2017
1 parent 6f52966 commit 438a68a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions functions.php
Expand Up @@ -5642,3 +5642,10 @@ function wp_cache_get_last_changed( $group ) {

return $last_changed;
}

/**
* Remove Jetpack's dashboard ads
* E.g. for services like VaultPress, etc.
* Suggested by Automattic, Inc. support 2017-10-10
*/
add_filter( 'jetpack_just_in_time_msgs', '__return_false', 99 );

0 comments on commit 438a68a

Please sign in to comment.