# elementor/3.6.6/core/upgrade/custom-tasks.php

Elementor Website Builder – more than just a page builder, version 3.6.6. 19 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.6.6/code/core/upgrade/custom-tasks.php
- Raw: https://pluginprobe.com/plugins/elementor/3.6.6/raw/core/upgrade/custom-tasks.php
- Modified: 2021-11-17T08:27:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.6.6/code/core/upgrade/custom-tasks.php#L10-L20`.

```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 );
	}
}

```
