jetpack_honor_dnt_header_for_wga
jetpack_honor_dnt_header_for_wga
Appears in: jetpack.11.3.1, jetpack.11.3.2, jetpack.11.4, jetpack.11.5.1, jetpack.11.6, jetpack.11.8, jetpack.11.8.4, jetpack.11.9, jetpack.11.9.1, jetpack.12.0, jetpack.12.1, jetpack.12.1.1, jetpack.12.2.1, jetpack.12.3, jetpack.12.5, jetpack.12.6, jetpack.12.6.1, jetpack.12.7.1, jetpack.12.8, jetpack.12.8.1, jetpack.12.9, jetpack.12.9.3, jetpack.13.0, jetpack.13.1.1, jetpack.13.1.3, jetpack.13.2, jetpack.13.2.1, jetpack.13.3.1, jetpack.13.5, jetpack.13.6
Hook Type: filter
Displaying hooks found in version: jetpack.13.6apply_filters('jetpack_honor_dnt_header_for_wga') is found 1 times:
- /jetpack_vendor/automattic/jetpack-google-analytics/src/class-utils.php line 85
* @since jetpack-11.3 * * @param bool $honor_dnt Honors DNT for clients who don't want to be tracked. Set to true to enable. */ if ( false === apply_filters( 'jetpack_honor_dnt_header_for_wga', Options::honor_dnt_is_enabled() ) ) { return false; } foreach ( $_SERVER as $name => $value ) { if ( 'http_dnt' === strtolower( $name ) && 1 === (int) $value ) { return true;