Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/elemento.../data/v2/base
File: processor.php
<?php
[0] Fix | Delete
namespace Elementor\Data\V2\Base;
[1] Fix | Delete
[2] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[3] Fix | Delete
exit; // Exit if accessed directly.
[4] Fix | Delete
}
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Processor is just typically HOOK, who called before or after a command runs.
[8] Fix | Delete
* It exist to simulate frontend ($e.data) like mechanism with commands and hooks, since each
[9] Fix | Delete
* controller or endpoint is reachable via command (get_format).
[10] Fix | Delete
* The `Elementor\Data\V2\Manager::run` is able to run them with the ability to reach the endpoint.
[11] Fix | Delete
*/
[12] Fix | Delete
abstract class Processor {
[13] Fix | Delete
[14] Fix | Delete
/**
[15] Fix | Delete
* Controller.
[16] Fix | Delete
*
[17] Fix | Delete
* @var \Elementor\Data\V2\Base\Controller
[18] Fix | Delete
*/
[19] Fix | Delete
private $controller;
[20] Fix | Delete
[21] Fix | Delete
/**
[22] Fix | Delete
* Get processor command.
[23] Fix | Delete
*
[24] Fix | Delete
* @return string
[25] Fix | Delete
*/
[26] Fix | Delete
abstract public function get_command();
[27] Fix | Delete
[28] Fix | Delete
/**
[29] Fix | Delete
* Processor constructor.
[30] Fix | Delete
*
[31] Fix | Delete
* @param \Elementor\Data\V2\Base\Controller $controller
[32] Fix | Delete
*/
[33] Fix | Delete
public function __construct( $controller ) {
[34] Fix | Delete
$this->controller = $controller;
[35] Fix | Delete
}
[36] Fix | Delete
}
[37] Fix | Delete
[38] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function