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_enable_carousel_stats

Filter if Jetpack should enable stats collection on carousel views

Parameters

Enable
bool

Jetpack Carousel stat collection. Default false.

Changelog

  • Introduced in Jetpack 4.3.2

How to use this hook

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

Notes

You can use that filter to enable stats collection on carousel views, like so:
add_filter( 'jetpack_enable_carousel_stats', '__return_true' );
«Previous: jetpack_sso_allowed_username_generate_retries
Next: jetpack_media_summary_output»
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