jetpack_bump_stats_extras

This action is documented in modules/widgets/social-media-icons.php.

Description

do_action( 'jetpack_bump_stats_extras', (string) $google_analytics, (unknown) $enabled_or_disabled ); 

Parameters (2)

0. $google_analytics (string) => 'google-analytics'
The google analytics.
1. $enabled_or_disabled (unknown)
The enabled or disabled.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'jetpack_bump_stats_extras', $google_analytics, $enabled_or_disabled ); 
The following example is for adding a hook callback.
  1. // define the jetpack_bump_stats_extras callback 
  2. function action_jetpack_bump_stats_extras( $google_analytics, $enabled_or_disabled ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'jetpack_bump_stats_extras', 'action_jetpack_bump_stats_extras', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'jetpack_bump_stats_extras', 'action_jetpack_bump_stats_extras', 10, 2 ); 

Defined (17)

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

/json-endpoints/class.wpcom-json-api-site-settings-endpoint.php  
  1. do_action( 'jetpack_bump_stats_extras', 'google-analytics', $enabled_or_disabled ); 
/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php  
  1. do_action( 'jetpack_bump_stats_extras', 'api-insights-posts', $this->api->token_details['client_id'] ); 
/json-endpoints/class.wpcom-json-api-update-post-endpoint.php  
  1. do_action( 'jetpack_bump_stats_extras', 'api-insights-posts', $this->api->token_details['client_id'] ); 
/json-endpoints/class.wpcom-json-api-update-post-v1-1-endpoint.php  
  1. do_action( 'jetpack_bump_stats_extras', 'api-insights-posts', $this->api->token_details['client_id'] ); 
/modules/after-the-deadline.php  
  1. do_action( 'jetpack_bump_stats_extras', 'atd-remote-error', $code ); 
/modules/custom-post-types/testimonial.php  
  1. do_action( 'jetpack_bump_stats_extras', 'testimonials', 'new-activation' ); 
  1. do_action( 'jetpack_bump_stats_extras', 'testimonials', 'option-on' ); 
  1. do_action( 'jetpack_bump_stats_extras', 'testimonials', 'option-off' ); 
/modules/publicize.php  
  1. do_action( 'jetpack_bump_stats_extras', 'publicize_url', $bin ); 
/modules/shortcodes/getty.php  
  1. do_action( 'jetpack_bump_stats_extras', 'html_to_shortcode', 'getty' ); 
/modules/shortcodes/googleapps.php  
  1. do_action( 'jetpack_bump_stats_extras', 'html_to_shortcode', googleapps_service_name( $domain, $match[3] ) ); 
  1. do_action( 'jetpack_bump_stats_extras', 'embeds', googleapps_service_name( $attr['domain'], $attr['dir'] ) ); 
/modules/shortcodes/hulu.php  
  1. do_action( 'jetpack_bump_stats_extras', 'html_to_shortcode', 'hulu-embed' ); 
/modules/shortcodes/mailchimp.php  
  1. do_action( 'jetpack_bump_stats_extras', 'html_to_shortcode', 'mailchimp_subscriber_popup' ); 
/modules/shortcodes/tweet.php  
  1. do_action( 'jetpack_bump_stats_extras', 'embeds', 'tweet' ); 
/modules/shortcodes/twitchtv.php  
  1. do_action( 'jetpack_bump_stats_extras', 'twitchtv', 'shortcode' ); 
/modules/widgets/social-media-icons.php  
  1. do_action( 'jetpack_bump_stats_extras', 'social-media-links-widget-svcs', $val );