PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.7
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.7
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 4.2.1 All 138 releases
learnpress / config / settings / advanced.php

advanced.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.7, at config/settings/advanced.php

93 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Setting tab Advanced
4 */
5
6 return apply_filters(
7 'learn_press_advanced_settings',
8 array(
9 array(
10 'type' => 'title',
11 'title' => esc_html__( 'Style', 'learnpress' ),
12 'id' => 'lp_metabox_setting_advanced',
13 ),
14 array(
15 'title' => esc_html__( 'Width container', 'learnpress' ),
16 'desc' => sprintf( '%s', __( 'With of container, Ex: 1140px, 80rem', 'learnpress' ) ),
17 'id' => 'width_container',
18 'type' => 'text',
19 'default' => '1290px',
20 'desc_tip' => true,
21 ),
22 array(
23 'title' => esc_html__( 'Primary color', 'learnpress' ),
24 'desc' => sprintf( __( 'Default: %s', 'learnpress' ), '<code>#ffb606</code>' ),
25 'id' => 'primary_color',
26 'type' => 'color',
27 'css' => 'width:6em;',
28 'default' => '#ffb606',
29 'autoload' => false,
30 'desc_tip' => true,
31 ),
32 array(
33 'title' => esc_html__( 'Secondary color', 'learnpress' ),
34 'desc' => sprintf( __( 'Default: %s', 'learnpress' ), '<code>#442e66</code>' ),
35 'id' => 'secondary_color',
36 'type' => 'color',
37 'css' => 'width:6em;',
38 'default' => '#442e66',
39 'autoload' => false,
40 'desc_tip' => true,
41 ),
42 array(
43 'type' => 'sectionend',
44 'id' => 'lp_metabox_setting_advanced',
45 ),
46 array(
47 'type' => 'title',
48 'title' => esc_html__( 'Other', 'learnpress' ),
49 'id' => 'lp_metabox_advanced_other',
50 ),
51 array(
52 'title' => esc_html__( 'Enable gutenberg', 'learnpress' ),
53 'id' => 'enable_gutenberg_course',
54 'default' => 'no',
55 'type' => 'checkbox',
56 'checkboxgroup' => 'start',
57 'desc' => esc_html__( 'Course', 'learnpress' ),
58 ),
59 array(
60 'id' => 'enable_gutenberg_lesson',
61 'default' => 'no',
62 'type' => 'checkbox',
63 'checkboxgroup' => '',
64 'desc' => esc_html__( 'Lesson', 'learnpress' ),
65 ),
66 array(
67 'id' => 'enable_gutenberg_quiz',
68 'default' => 'no',
69 'type' => 'checkbox',
70 'checkboxgroup' => '',
71 'desc' => esc_html__( 'Quiz', 'learnpress' ),
72 ),
73 array(
74 'id' => 'enable_gutenberg_question',
75 'default' => 'no',
76 'type' => 'checkbox',
77 'checkboxgroup' => 'end',
78 'desc' => esc_html__( 'Question', 'learnpress' ),
79 ),
80 array(
81 'title' => esc_html__( 'Debug Mode', 'learnpress' ),
82 'id' => 'debug',
83 'default' => 'no',
84 'type' => 'checkbox',
85 'desc' => esc_html__( 'Enable debug mode for the developer.', 'learnpress' ),
86 ),
87 array(
88 'type' => 'sectionend',
89 'id' => 'lp_metabox_advanced_other',
90 ),
91 )
92 );
93