developer
  • Codex
  • Beta Program
  • Support
  • Blog
  • Docs

Chapters

  • WP Hooks Reference
    • Ads
    • Asset CDN
    • Brute force protection
    • Carousel
    • Comment Likes
    • Comments
    • Copy Post
    • Custom content types
    • Extra Sidebar Widgets
    • Forms
    • Google Fonts (Beta)
    • Gravatar Hovercards
    • Image CDN
    • Infinite Scroll
    • JSON API
    • Jetpack Social
    • Jetpack Stats
    • Likes
    • Markdown
    • Newsletter
    • Notifications
    • Related posts
    • SEO Tools
    • Search
    • Secure Sign On
    • Sharing
    • Shortcode Embeds
    • Site verification
    • Sitemaps
    • Tiled Galleries
    • VideoPress
    • Widget Visibility
    • WooCommerce Analytics
  • Jetpack Development
    • Contributor Code of Conduct
    • Developer Environment
    • Monorepo Overview
    • Autoloader
    • Starting a New Project
    • Coding Standards
    • Internationalization
    • Testing
    • Code Deprecation
    • Static Code Analysis
    • Creating a Pull Request
    • Releases
    • Jetpack CLI
    • IDE Integrations
  • Customization
    • Contact Form Customization
    • Jetpack Search: Document Fields
    • Jetpack Search: Query Customization
    • Module Overrides
    • Related Posts
    • Theme support
      • Content Options
      • Featured Content
      • Infinite Scroll
      • Responsive videos
      • Site Breadcrumbs
      • Social Links
      • Social Menu
    • WP Super Cache
      • Add or Removing Cookies
      • Developer Documentation
      • Partial Page Caching
      • WP Super Cache FAQ
      • Writing WP Super Cache Plugins
    • WP.me Shortlinks

In this article

  • Parameters
  • Changelog
  • How to use this hook
  • Notes

↑ Back to top

filter

jetpack_sharing_counts

Filter the display of sharing counts next to the sharing buttons.

Parameters

true
bool

Control the display of counters next to the sharing buttons. Default to true.

Changelog

  • Introduced in Jetpack 3.2.0

How to use this hook

See “How to use actions and filters to customize Jetpack”.

Notes

You can use this filter to remove the Sharing counts added to Jetpack’s Sharing buttons.
add_filter( 'jetpack_sharing_counts', '__return_false' );
«Previous: sharing_enqueue_scripts
Next: sharing_js»
An Automattic contraptionWork With Us
  • Comment
  • Subscribe Subscribed
    • Jetpack Developer Resources
    • Join 113 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Jetpack Developer Resources
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar