PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
learnpress / config / elementor / login-user-form.php

login-user-form.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.8, at config/elementor/login-user-form.php

68 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Elementor Controls for widget Become a teacher settings.
4 *
5 * @since 4.2.3
6 * @version 1.0.0
7 */
8
9 use Elementor\Controls_Manager;
10 use LearnPress\ExternalPlugin\Elementor\LPElementorControls;
11
12 // Fields tab content
13 $content_fields = [];
14
15 // Fields tab style
16 $style_fields = array_merge(
17 LPElementorControls::add_fields_in_section(
18 'title',
19 esc_html__( 'Title', 'learnpress' ),
20 Controls_Manager::TAB_STYLE,
21 LPElementorControls::add_controls_style_text(
22 'title',
23 '.learn-press-form-login h3'
24 )
25 ),
26 LPElementorControls::add_fields_in_section(
27 'form_label',
28 esc_html__( 'Form Label', 'learnpress' ),
29 Controls_Manager::TAB_STYLE,
30 LPElementorControls::add_controls_style_text(
31 'form_label',
32 '.learn-press-form-login label'
33 )
34 ),
35 LPElementorControls::add_fields_in_section(
36 'form_input_text',
37 esc_html__( 'Form Input', 'learnpress' ),
38 Controls_Manager::TAB_STYLE,
39 LPElementorControls::add_controls_style_button(
40 'form_input_text',
41 '.learn-press-form-login input, .learn-press-form-login textarea'
42 )
43 ),
44 LPElementorControls::add_fields_in_section(
45 'btn_submit',
46 esc_html__( 'Button Submit', 'learnpress' ),
47 Controls_Manager::TAB_STYLE,
48 LPElementorControls::add_controls_style_button(
49 'form',
50 '.learn-press-form-login button'
51 )
52 )
53 );
54
55 return apply_filters(
56 'learn-press/elementor/login-user-form',
57 array_merge(
58 apply_filters(
59 'learn-press/elementor/login-user-form/tab-content',
60 $content_fields
61 ),
62 apply_filters(
63 'learn-press/elementor/login-user-form/tab-styles',
64 $style_fields
65 )
66 )
67 );
68