Disable Elementor tracking
Some checks failed
Back-end / Syntax errors (push) Has been cancelled
Integrity / Integrity (push) Has been cancelled
Spelling / 文A Typos check (push) Has been cancelled

This commit is contained in:
Viktor Szépe 2025-08-29 05:06:47 +00:00
parent 3ad341cc58
commit 513067f880

View file

@ -8,6 +8,9 @@
add_action(
'init',
static function () {
if (!did_action('elementor/loaded')) {
return;
}
require_once __DIR__.'/elementor/Admin_Notices.php';
require_once __DIR__.'/elementor/Feedback.php';
require_once __DIR__.'/elementor/Promotions.php';
@ -16,3 +19,11 @@ add_action(
-1,
0
);

// Disable tracking.
add_filter(
'pre_option_elementor_allow_tracking',
'__return_empty_string',
10,
0
);