jetpack_widget_name

This filter is documented in modules/widgets/facebook-likebox.php.

Description

apply_filters( 'jetpack_widget_name', $var ); 

Parameters (1)

0. $var
__( 'Display WordPress Posts', 'jetpack' )

Usage

To run the hook, copy the example below.
  1. $var = apply_filters( 'jetpack_widget_name', $var ); 
  2.  
  3. if ( !empty( $var ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the jetpack_widget_name callback 
  2. function filter_jetpack_widget_name( $var ) { 
  3. // make filter magic happen here... 
  4. return $var
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'jetpack_widget_name', 'filter_jetpack_widget_name', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'jetpack_widget_name', 'filter_jetpack_widget_name', 10, 1 ); 

Defined (13)

The filter is defined in the following location(s).

/modules/widgets/wordpress-post-widget.php  
  1. apply_filters( 'jetpack_widget_name', __( 'Display WordPress Posts', 'jetpack' ) ), 
/modules/widgets/twitter-timeline.php  
  1. apply_filters( 'jetpack_widget_name', esc_html__( 'Twitter Timeline', 'jetpack' ) ), 
/modules/widgets/top-posts.php  
  1. apply_filters( 'jetpack_widget_name', __( 'Top Posts & Pages', 'jetpack' ) ), 
/modules/widgets/social-media-icons.php  
  1. apply_filters( 'jetpack_widget_name', esc_html__( 'Social Media Icons', 'jetpack' ) ), 
/modules/widgets/rsslinks-widget.php  
  1. apply_filters( 'jetpack_widget_name', __( 'RSS Links', 'jetpack' ) ), 
/modules/widgets/image-widget.php  
  1. apply_filters( 'jetpack_widget_name', esc_html__( 'Image', 'jetpack' ) ), 
/modules/widgets/gravatar-profile.php  
  1. apply_filters( 'jetpack_widget_name', __( 'Gravatar Profile', 'jetpack' ) ), 
/modules/widgets/googleplus-badge.php  
  1. apply_filters( 'jetpack_widget_name', __( 'Google+ Badge', 'jetpack' ) ), 
/modules/widgets/goodreads.php  
  1. apply_filters( 'jetpack_widget_name', __( 'Goodreads', 'jetpack' ) ), 
/modules/widgets/gallery.php  
  1. apply_filters( 'jetpack_widget_name', __( 'Gallery', 'jetpack' ) ), 
/modules/widgets/facebook-likebox.php  
  1. apply_filters( 'jetpack_widget_name', __( 'Facebook Like Box', 'jetpack' ) ), 
/modules/widgets/contact-info.php  
  1. apply_filters( 'jetpack_widget_name', __( 'Contact Info', 'jetpack' ) ), 
/modules/subscriptions.php  
  1. apply_filters( 'jetpack_widget_name', __( 'Blog Subscriptions', 'jetpack' ) ),