mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-04 12:22:24 +08:00
https://www.seopress.org/support/hooks/filter-disable-all-tracking-cookies-matomo-feature/
5 lines
182 B
Text
5 lines
182 B
Text
function sp_matomo_disable_cookies($html) {
|
|
$html = "_paq.push(['disableCookies']);\n";
|
|
return $html;
|
|
}
|
|
add_filter('seopress_matomo_disable_cookies', 'sp_matomo_disable_cookies');
|