File "task.php"
Full Path: /home/flipjqml/onlinebetsolution.com/next_old/wp-content/plugins/elementor/core/upgrade/task.php
File size: 525 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Elementor\Core\Upgrade;
use Elementor\Core\Base\Background_Task;
use Elementor\Core\Base\DB_Upgrades_Manager;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Task extends Background_Task {
/**
* @var DB_Upgrades_Manager
*/
protected $manager;
protected function format_callback_log( $item ) {
return $this->manager->get_plugin_label() . '/Tasks - ' . $item['callback'][1];
}
public function set_limit( $limit ) {
$this->manager->set_query_limit( $limit );
}
}