Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : tabs.php
<?php
// Image
use Elementor\Controls_Manager;
use Elementor\Group_Control_Border;
add_action('elementor/element/nested-tabs/section_tabs/before_section_end', function ($element, $args) {
    $element->add_control(
        'style',
        [
            'label'        => esc_html__('Style', 'motiox'),
            'type'         => Controls_Manager::SELECT,
            'default'      => '1',
            'options'      => [
                '1' => esc_html__('Style 1', 'motiox'),
                '2' => esc_html__('Style 2', 'motiox'),
                '3' => esc_html__('Style 3', 'motiox'),
            ],
            'prefix_class' => 'tabs-style-'
        ]
    );
}, 10, 2);
add_action('elementor/element/nested-tabs/section_tabs_style/before_section_end', function ($element, $args) {
    $element->add_responsive_control(
        'padding_tabs',
        [
            'label'      => esc_html__('Padding Tabs', 'motiox'),
            'type'       => Controls_Manager::DIMENSIONS,
            'size_units' => ['px', 'em', '%'],
            'separator'   => 'before',
            'selectors'  => [
                '{{WRAPPER}} .e-n-tabs-heading' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
            ],
        ]
    );

}, 10, 2);

add_action('elementor/element/nested-tabs/section_tabs_style/before_section_end', function ($element, $args) {
    $element->add_group_control(
        Group_Control_Border::get_type(),
        [
            'name'        => 'tabs_heading_border',
            'placeholder' => '1px',
            'default'     => '1px',
            'selector'    => '{{WRAPPER}} .e-n-tabs-heading',
        ]
    );
}, 10, 2);

add_action('elementor/element/nested-tabs/section_tabs_style/before_section_end', function ($element, $args) {
    $element->add_responsive_control(
        'tabs_border_radius',
        [
            'label'      => esc_html__('Border Radius Tabs', 'motiox'),
            'type'       => Controls_Manager::DIMENSIONS,
            'size_units' => ['px', '%'],
            'selectors'  => [
                '{{WRAPPER}} .e-n-tabs-heading' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
            ],
        ]
    );
}, 10, 2);

add_action('elementor/element/nested-tabs/section_tabs_style/before_section_end', function ($element, $args) {
    $element->add_control(
        'tabs_background_color',
        [
            'label'     => esc_html__('Background Tabs', 'motiox'),
            'type'      => Controls_Manager::COLOR,
            'selectors' => [
                '{{WRAPPER}} .e-n-tabs-heading' => 'background-color: {{VALUE}}',
            ],
        ]
    );
}, 10, 2);
© 2026 GrazzMean-Shell