Skip to content

Commit

Permalink
Add selective refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
artpi committed Nov 3, 2016
1 parent 00973c1 commit b0f4883
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/widgets/google-translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ function __construct() {
'google_translate_widget',
/** This filter is documented in modules/widgets/facebook-likebox.php */
apply_filters( 'jetpack_widget_name', __( 'Google Translate', 'jetpack' ) ),
array( 'description' => __( 'Automatic translation of your site content', 'jetpack' ) )
array(
'description' => __( 'Automatic translation of your site content', 'jetpack' ),
'customize_selective_refresh' => true
)
);
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
}
Expand Down

0 comments on commit b0f4883

Please sign in to comment.