settings-custom-css.php (703B)
1 <?php 2 namespace Elementor\Core\Kits\Documents\Tabs; 3 4 use Elementor\Plugin; 5 6 if ( ! defined( 'ABSPATH' ) ) { 7 exit; // Exit if accessed directly 8 } 9 10 class Settings_Custom_CSS extends Tab_Base { 11 12 public function get_id() { 13 return 'settings-custom-css'; 14 } 15 16 public function get_title() { 17 return esc_html__( 'Custom CSS', 'elementor' ); 18 } 19 20 public function get_group() { 21 return 'settings'; 22 } 23 24 public function get_icon() { 25 return 'eicon-custom-css'; 26 } 27 28 public function get_help_url() { 29 return 'https://go.elementor.com/global-custom-css'; 30 } 31 32 protected function register_tab_controls() { 33 Plugin::$instance->controls_manager->add_custom_css_controls( $this->parent, $this->get_id() ); 34 } 35 }