- Timestamp:
- 06/16/2015 02:13:02 PM (11 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/jetpack-tweaks.php
r1653 r1663 1 1 <?php 2 /*3 * Plugin Name: Jetpack Publicize Tweaks4 * Description: Tweak the way that posts shared on social media services will be displayed5 * Version: 0.16 * Author: Brandon Kraft7 */8 9 2 10 3 /* … … 47 40 } 48 41 add_filter( 'jetpack_twitter_cards_site_tag', 'wc_twitter_sitetag' ); 42 43 /* 44 * Determine which Jetpack modules should be automatically activated when new sites are created 45 */ 46 function wcorg_default_jetpack_modules( $modules ) { 47 $modules = array_diff( $modules, array( 'widget-visibility' ) ); 48 array_push( $modules, 'contact-form', 'shortcodes', 'custom-css', 'subscriptions' ); 49 50 return $modules; 51 } 52 add_filter( 'jetpack_get_default_modules', 'wcorg_default_jetpack_modules' );
Note: See TracChangeset
for help on using the changeset viewer.