Server IP : 162.213.251.208 / Your IP : 18.116.37.31 Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : jmoroovq ( 1890) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/jmoroovq/expressmedicalbillingservices.com/wp-content/plugins/uicore-framework/includes/elementor/ |
Upload File : |
<?php namespace UiCore\Elementor; defined('ABSPATH') || exit(); /** * Scripts and Styles Class */ class Widgets { public function __construct() { // require_once UICORE_INCLUDES . '/elementor/generic/class-elementor-helper.php'; // require_once UICORE_INCLUDES . '/elementor/generic/button-settings.php'; add_action('elementor/elements/categories_registered', [$this, 'create_custom_category'], 2); add_action('elementor/controls/controls_registered', [$this, 'init_controls']); add_action('elementor/widgets/widgets_registered', [$this, 'init_widgets']); } public function init_widgets() { require_once UICORE_INCLUDES . '/elementor/widgets/post-grid.php'; require_once UICORE_INCLUDES . '/elementor/widgets/highlighted-text.php'; // require_once UICORE_INCLUDES . '/elementor/widgets/icon-box.php'; // require_once UICORE_INCLUDES . '/elementor/theme-builder/widgets/the-content.php'; } public function init_controls() { //Controls require UICORE_INCLUDES . '/elementor/generic/class-post-filter-control.php'; } function create_custom_category($elements_manager) { $elements_manager->add_category('uicore', [ 'title' => __('UiCore', 'uicore'), 'icon' => 'fa fa-plug', ]); } } new Widgets();