jetpack_honor_dnt_header_for_wga

jetpack_honor_dnt_header_for_wga

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.13.6

apply_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;