<?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 ); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
custom-tasks-manager.php | File | 2.42 KB | 0644 |
|
custom-tasks.php | File | 372 B | 0644 |
|
manager.php | File | 2.45 KB | 0644 |
|
task.php | File | 525 B | 0644 |
|
updater.php | File | 491 B | 0644 |
|
upgrade-utils.php | File | 1.79 KB | 0644 |
|
upgrades.php | File | 27.79 KB | 0644 |
|