start_controls_section( 'Tabs_section', [ 'label' => __( 'Setting', 'bring-back' ), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, ] ); $month_year = new \Elementor\Repeater(); $month_year->add_control( 'tab_title', [ 'label' => __( 'Tab Name', 'bring-back' ), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ] ); $month_year->add_control( 'title', [ 'label' => __( 'Title', 'bring-back' ), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ] ); $month_year->add_control( 'content', [ 'label' => __( 'Content', 'bring-back' ), 'type' => \Elementor\Controls_Manager::WYSIWYG, 'label_block' => true, ] ); $this->add_control( 'list', [ 'label' => __( 'Tab List', 'bring-back' ), 'type' => \Elementor\Controls_Manager::REPEATER, 'fields' => $month_year->get_controls() ] ); $this->end_controls_section(); } /** * Render oEmbed widget output on the frontend. * * Written in PHP and used to generate the final HTML. * * @since 1.0.0 * @access protected */ protected function render() { $settings = $this->get_settings_for_display(); $list = $settings['list']; ?>