Changeset 5323
- Timestamp:
- 04/12/2017 05:31:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/jetpack-tweaks/miscellaneous.php
r2958 r5323 4 4 defined( 'WPINC' ) or die(); 5 5 6 add_action( 'plugins_loaded', __NAMESPACE__ . '\modify_hooks_after_jetpack_init' ); 7 8 // Allow Photon to fetch images that are served via HTTPS 6 9 add_filter( 'jetpack_photon_reject_https', '__return_false' ); 10 11 // Disable Snow to avoid performance and accessibility problems 7 12 add_filter( 'jetpack_is_holiday_snow_season', '__return_false' ); 13 14 /** 15 * Modify hooks after Jetpack::init() 16 */ 17 function modify_hooks_after_jetpack_init() { 18 /* 19 * Many of these messages are just marketing upsells for services we don't need, don't want, or have 20 * alternatives for already. Those messages aren't relevant to organizers, so they just intrude on their work 21 * unnecessarily. 22 */ 23 add_filter( 'jetpack_just_in_time_msgs', '__return_false' ); 24 }
Note: See TracChangeset
for help on using the changeset viewer.