Changeset 8750
- Timestamp:
- 05/08/2019 05:02:43 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/jetpack-tweaks/miscellaneous.php
r8494 r8750 6 6 // Allow Photon to fetch images that are served via HTTPS 7 7 add_filter( 'jetpack_photon_reject_https', '__return_false' ); 8 9 /**10 * Modify hooks after Jetpack::init()11 *12 * @todo This may be unnecessary and removable since there is now a similar wporg mu-plugin. See [dotorg13221].13 */14 function modify_hooks_after_jetpack_init() {15 /*16 * Many of these messages are just marketing upsells for services we don't need, don't want, or have17 * alternatives for already. Those messages aren't relevant to organizers, so they just intrude on their work18 * unnecessarily.19 */20 add_filter( 'jetpack_just_in_time_msgs', '__return_false', 11 );21 }22 23 add_action( 'plugins_loaded', __NAMESPACE__ . '\modify_hooks_after_jetpack_init' );24 8 25 9 /**
Note: See TracChangeset
for help on using the changeset viewer.