░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
vps.doorgans.com
LOCATION:
/home/fotosel/.trash/wp-content/plugins/elementor-pro/base
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: module-base.php
<?php namespace ElementorPro\Base; use Elementor\Core\Base\Module; use ElementorPro\Plugin; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } abstract class Module_Base extends Module { public function get_widgets() { return []; } public function __construct() { add_action( 'elementor/widgets/widgets_registered', [ $this, 'init_widgets' ] ); } public function init_widgets() { $widget_manager = Plugin::elementor()->widgets_manager; foreach ( $this->get_widgets() as $widget ) { $class_name = $this->get_reflection()->getNamespaceName() . '\Widgets\\' . $widget; $widget_manager->register_widget_type( new $class_name() ); } } }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 base-widget-trait.php
PHP
377 B
2022-06-09 15:28
EDIT
📄 base-widget.php
PHP
280 B
2022-06-09 15:28
EDIT
📄 module-base.php
PHP
681 B
2022-06-09 15:28
EDIT