kollapsminoriteten/wp-content/plugins/jetpack/modules/cloudflare-analytics/cloudflare-analytics.php

27 lines
702 B
PHP
Raw Normal View History

2021-04-27 08:32:47 +02:00
<?php
/**
* Cloudflare Analytics
* Let WPCOM users automatically insert a Cloudflare analytics JS snippet into their site header.
*
2025-02-28 08:42:11 +01:00
* @deprecated 13.4 Moved to mu-wpcom.
*
2021-04-27 08:32:47 +02:00
* @package automattic/jetpack
*/
namespace Automattic\Jetpack\Cloudflare_Analytics;
2025-02-28 08:42:11 +01:00
_deprecated_file( __FILE__, 'jetpack-13.4' );
2022-04-02 10:26:41 +02:00
2021-04-27 08:32:47 +02:00
/**
* Add Cloudflare Analytics tracking code to the head.
* This is currently only available to Atomic and WordPress.com Simple sites.
*
2025-02-28 08:42:11 +01:00
* @deprecated 13.4 Moved to mu-wpcom.
2021-04-27 08:32:47 +02:00
* @since 9.5.0
2025-02-28 08:42:11 +01:00
*
* @return void
2021-04-27 08:32:47 +02:00
*/
function insert_tracking_id() {
2025-02-28 08:42:11 +01:00
_deprecated_function( __FUNCTION__, 'jetpack-13.4', 'Automattic\\Jetpack\\Jetpack_Mu_Wpcom\\Cloudflare_Analytics\\insert_tracking_id' );
2021-04-27 08:32:47 +02:00
}