??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/renovaid.co.uk/wp-content/plugins/elementor/core/kits/documents/tabs/tab-base.php
⬅ Kembali
<?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',
]
);
}
}
}
Nama
Tipe
Ukuran
Diubah
Aksi
🐘 global-colors.php
php
2.8 KB
2026-03-30 13:49
🐘 global-typography.php
php
5.3 KB
2026-03-30 13:49
🐘 settings-background.php
php
2 KB
2025-03-17 17:28
🐘 settings-custom-css.php
php
705 B
2025-03-17 17:28
🐘 settings-layout.php
php
12.2 KB
2025-03-17 17:28
🐘 settings-lightbox.php
php
4.8 KB
2025-03-17 17:28
🐘 settings-page-transitions.php
php
764 B
2025-03-17 17:28
🐘 settings-site-identity.php
php
4.4 KB
2025-03-30 16:32
🐘 tab-base.php
php
2.1 KB
2025-03-17 17:28
🐘 theme-style-buttons.php
php
5.6 KB
2025-03-17 17:28
🐘 theme-style-form-fields.php
php
5.3 KB
2025-03-17 17:28
🐘 theme-style-images.php
php
4.5 KB
2025-03-17 17:28
🐘 theme-style-typography.php
php
4.4 KB
2025-08-05 18:00