oont-contents/plugins/elementor/core/upgrade/custom-tasks.php
2025-02-08 15:10:23 +01:00

18 lines
372 B
PHP

<?php
namespace Elementor\Core\Upgrade;
use Elementor\Tracker;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Custom_Tasks {
public static function opt_in_recalculate_usage( $updater ) {
return Upgrades::recalc_usage_data( $updater );
}
public static function opt_in_send_tracking_data() {
Tracker::send_tracking_data( true );
}
}