18 lines
372 B
PHP
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 );
|
|
}
|
|
}
|