apply_filters ( 'jetpack_enable_carousel_stats', bool Enable )

Filter if Jetpack should enable stats collection on carousel views

Source file: modules/carousel/jetpack-carousel.php

View in GitHub

Parameters

Enable

(bool) Enable Jetpack Carousel stat collection. Default false.


Changelog

Since: Jetpack 4.3.2


Notes

You can use that filter to enable stats collection on carousel views, like so:

add_filter( 'jetpack_enable_carousel_stats', '__return_true' );

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s