LPElementorControls::add_control_type( 'title', esc_html__( 'Title', 'learnpress' ), esc_html__( 'Become a teacher', 'learnpress' ) ), 'description' => LPElementorControls::add_control_type( 'description', esc_html__( 'Description', 'learnpress' ), esc_html__( 'Fill in your information and send it to us to become a teacher.', 'learnpress' ), Controls_Manager::TEXTAREA ), 'submit_button_text' => LPElementorControls::add_control_type( 'submit_button_text', esc_html__( 'Button text', 'learnpress' ), esc_html__( 'Submit', 'learnpress' ) ), 'submit_button_process_text' => LPElementorControls::add_control_type( 'submit_button_process_text', esc_html__( 'Button Processing text', 'learnpress' ), esc_html__( 'Processing', 'learnpress' ) ), ] ); // Fields tab style $style_fields = array_merge( LPElementorControls::add_fields_in_section( 'style_title', esc_html__( 'Title', 'learnpress' ), Controls_Manager::TAB_STYLE, LPElementorControls::add_controls_style_text( 'title', '#learn-press-become-teacher-form h3' ) ), LPElementorControls::add_fields_in_section( 'style_description', esc_html__( 'Description', 'learnpress' ), Controls_Manager::TAB_STYLE, LPElementorControls::add_controls_style_text( 'description', '.become-teacher-form__description' ) ), LPElementorControls::add_fields_in_section( 'form_label', esc_html__( 'Form Label', 'learnpress' ), Controls_Manager::TAB_STYLE, LPElementorControls::add_controls_style_text( 'form_label', '.become-teacher-form label' ) ), LPElementorControls::add_fields_in_section( 'form_input_text', esc_html__( 'Form Input', 'learnpress' ), Controls_Manager::TAB_STYLE, LPElementorControls::add_controls_style_button( 'form_input_text', '.become-teacher-form input[type=text], .become-teacher-form textarea' ) ), LPElementorControls::add_fields_in_section( 'btn_submit', esc_html__( 'Button Submit', 'learnpress' ), Controls_Manager::TAB_STYLE, LPElementorControls::add_controls_style_button( 'form', '.become-teacher-form button' ) ) ); return apply_filters( 'learn-press/elementor/instructor/become-a-teacher', array_merge( apply_filters( 'learn-press/elementor/instructor/become-a-teacher/tab-content', $content_fields ), apply_filters( 'learn-press/elementor/instructor/become-a-teacher/tab-styles', $style_fields ) ) );