SILENT KILLERPanel

Current Path: > home > transcarter > > www > > wp-content > plugins > elementor > core > > kits > documents > tabs >


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.41
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter//www//wp-content/plugins/elementor/core//kits/documents/tabs/

NameTypeSizeLast ModifiedActions
global-colors.php File 2810 bytes July 17 2025 21:06:23.
global-typography.php File 5348 bytes July 17 2025 21:06:23.
settings-background.php File 2086 bytes July 17 2025 21:06:23.
settings-custom-css.php File 705 bytes July 17 2025 21:06:23.
settings-layout.php File 12542 bytes July 17 2025 21:06:23.
settings-lightbox.php File 4865 bytes July 17 2025 21:06:23.
settings-page-transitions.php File 764 bytes July 17 2025 21:06:23.
settings-site-identity.php File 4467 bytes July 17 2025 21:06:23.
tab-base.php File 2197 bytes July 17 2025 21:06:23.
theme-style-buttons.php File 5714 bytes July 17 2025 21:06:23.
theme-style-form-fields.php File 5433 bytes July 17 2025 21:06:23.
theme-style-images.php File 4624 bytes July 17 2025 21:06:23.
theme-style-typography.php File 4543 bytes July 17 2025 21:06:23.

Reading File: /home/transcarter//www//wp-content/plugins/elementor/core//kits/documents/tabs//tab-base.php

<?php

namespace Elementor\Core\Kits\Documents\Tabs;

use Elementor\Controls_Manager;
use Elementor\Core\Kits\Documents\Kit;
use Elementor\Core\Kits\Manager;
use Elementor\Plugin;
use Elementor\Settings;
use Elementor\Sub_Controls_Stack;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

abstract class Tab_Base extends Sub_Controls_Stack {
	/**
	 * @var Kit
	 */
	protected $parent;

	abstract protected function register_tab_controls();

	public function get_group() {
		return 'settings';
	}

	public function get_icon() {
		return '';
	}

	public function get_help_url() {
		return '';
	}

	public function get_additional_tab_content() {
		return '';
	}

	public function register_controls() {
		$this->register_tab();

		$this->register_tab_controls();
	}

	public function on_save( $data ) {}

	/**
	 * Before Save
	 *
	 * Allows for modifying the kit data before it is saved to the database.
	 *
	 * @param array $data
	 * @return array
	 */
	public function before_save( array $data ) {
		return $data;
	}

	protected function register_tab() {
		Controls_Manager::add_tab( $this->get_id(), $this->get_title() );
	}

	protected function add_default_globals_notice() {
		// Get the current section config (array - section id and tab) to use for creating a unique control ID and name
		$current_section = $this->parent->get_current_section();

		/** @var Manager $module */
		$kits_manager = Plugin::$instance->kits_manager;

		if ( $kits_manager->is_custom_colors_enabled() || $kits_manager->is_custom_typography_enabled() ) {
			$this->add_control(
				$current_section['section'] . '_schemes_notice',
				[
					'name' => $current_section['section'] . '_schemes_notice',
					'type' => Controls_Manager::ALERT,
					'alert_type' => 'warning',
					'content' => sprintf(
						/* translators: 1: Link open tag, 2: Link close tag. */
						esc_html__( 'In order for Theme Style to affect all relevant Elementor elements, please disable Default Colors and Fonts from the %1$sSettings Page%2$s.', 'elementor' ),
						'<a href="' . Settings::get_settings_tab_url( 'general' ) . '" target="_blank">',
						'</a>'
					),
					'render_type' => 'ui',
				]
			);
		}
	}
}

SILENT KILLER Tool