Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/elemento.../modules/componen...
File: components.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Elementor\Modules\Components;
[2] Fix | Delete
[3] Fix | Delete
use Elementor\Core\Utils\Collection;
[4] Fix | Delete
[5] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[6] Fix | Delete
exit; // Exit if accessed directly.
[7] Fix | Delete
}
[8] Fix | Delete
[9] Fix | Delete
class Components {
[10] Fix | Delete
private Collection $components;
[11] Fix | Delete
[12] Fix | Delete
public static function make( array $components = [] ) {
[13] Fix | Delete
return new static( $components );
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
private function __construct( array $components = [] ) {
[17] Fix | Delete
$this->components = Collection::make( $components );
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
public function get_components() {
[21] Fix | Delete
return $this->components;
[22] Fix | Delete
}
[23] Fix | Delete
}
[24] Fix | Delete
[25] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function