| 1 |
<?php |
| 2 |
namespace Elementor\Core\Upgrade; |
| 3 |
|
| 4 |
use Elementor\Tracker; |
| 5 |
|
| 6 |
if ( ! defined( 'ABSPATH' ) ) { |
| 7 |
exit; // Exit if accessed directly |
| 8 |
} |
| 9 |
|
| 10 |
class Custom_Tasks { |
| 11 |
public static function opt_in_recalculate_usage( $updater ) { |
| 12 |
return Upgrades::recalc_usage_data( $updater ); |
| 13 |
} |
| 14 |
|
| 15 |
public static function opt_in_send_tracking_data() { |
| 16 |
Tracker::send_tracking_data( true ); |
| 17 |
} |
| 18 |
} |
| 19 |
|