PluginProbe ʕ •ᴥ•ʔ
Kirki – Freeform Page Builder, Website Builder & Customizer / 6.0.5
Kirki – Freeform Page Builder, Website Builder & Customizer v6.0.5
6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 4.0.19 4.0.20 4.0.21 4.0.22 4.0.23 4.0.24 4.1 4.2.0 5.0.0 5.1.0 5.1.1 5.2.0 5.2.1 5.2.2 5.2.3 6.0.0 trunk 3.0.40 3.0.41 3.0.42 3.0.43 3.0.44 3.0.45 3.1.0 3.1.1 3.1.2
kirki / config.php
kirki Last commit date
ComponentLibrary 4 weeks ago assets 3 weeks ago customizer 4 weeks ago includes 3 weeks ago languages 3 weeks ago vendor 1 month ago config.php 4 weeks ago kirki.php 3 weeks ago readme.txt 3 weeks ago
config.php
231 lines
1 <?php
2 /**
3 * Kirki Configurations
4 *
5 * @package kirki
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly.
10 }
11
12 define( 'KIRKI_APP_PREFIX', 'kirki' );
13 define( 'KIRKI_CORE_PLUGIN_URL', 'https://kirki.com' );
14 define( 'KIRKI_PUBLIC_ASSETS_URL', 'https://d31d7414w5c76z.cloudfront.net' );
15
16 define( 'KIRKI_META_NAME_FOR_POST_EDITOR_MODE', 'kirki_editor_mode' );
17 define( 'KIRKI_META_NAME_FOR_USED_STYLE_BLOCK_IDS', 'kirki_used_style_block_ids' );
18 define( 'KIRKI_META_NAME_FOR_USED_FONT_LIST', 'kirki_used_font_list' );
19 define( 'KIRKI_META_NAME_FOR_STAGED_VERSIONS', 'kirki_stage_versions' );
20 define( 'KIRKI_META_NAME_FOR_PAGE_HF_SYMBOL_DISABLE_STATUS', 'kirki_disabled_page_symbols' );
21
22
23 // droip apps.
24 define( 'IS_DEVELOPING_KIRKI_APPS', false );
25 if ( IS_DEVELOPING_KIRKI_APPS ) {
26 define( 'KIRKI_APPS_BASE_URL', content_url() . '/kirki-apps-dev/build' );
27 } else {
28 define( 'KIRKI_APPS_BASE_URL', KIRKI_PUBLIC_ASSETS_URL . '/kirki-apps' );
29 }
30 define( 'KIRKI_DEVELOPING_APPS_INCLUDES', plugin_dir_path( __FILE__ ) . '../../kirki-apps-dev/index.php' );
31
32
33 /* all types of file paths start */
34 define( 'KIRKI_PLUGIN_REL_URL', dirname( plugin_basename( __FILE__ ) ) );
35 define( 'KIRKI_ROOT_URL', plugin_dir_url( __FILE__ ) );
36 define( 'KIRKI_ASSETS_URL', KIRKI_ROOT_URL . 'assets/' );
37 define( 'KIRKI_ROOT_PATH', plugin_dir_path( __FILE__ ) );
38 define( 'KIRKI_FULL_CANVAS_TEMPLATE_PATH', str_replace( '\\', '/', KIRKI_ROOT_PATH . 'includes' . DIRECTORY_SEPARATOR . 'Frontend' . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR . 'template' . DIRECTORY_SEPARATOR . 'page.php' ) );
39 /* all types of file paths end */
40
41 /* all types of post types start */
42 define( 'KIRKI_GLOBAL_DATA_POST_TYPE_NAME','kirki_global_data' );
43 define( 'KIRKI_POST_TYPE','kirki_post' );
44 define( 'KIRKI_SYMBOL_TYPE','kirki_symbol' );
45 define( 'KIRKI_CONTENT_MANAGER_PREFIX','kirki_cm' );
46 /* all types of post types end */
47
48 /* all types of option meta types start */
49 define( 'KIRKI_USER_CONTROLLER_META_KEY','kirki_user_controller' );
50 define( 'KIRKI_GLOBAL_STYLE_BLOCK_META_KEY','kirki_global_style_block' );
51 define( 'KIRKI_USER_SAVED_DATA_META_KEY','kirki_user_saved_data' );
52 define( 'KIRKI_USER_CUSTOM_FONTS_META_KEY','kirki_user_custom_fonts' );
53 define( 'KIRKI_PAGE_SEO_SETTINGS_META_KEY','kirki_page_seo_settings' );
54 define( 'KIRKI_PAGE_CUSTOM_CODE','kirki_page_custom_code' );
55
56 define( 'KIRKI_WP_ADMIN_COMMON_DATA','kirki_wp_admin_common_data' );
57 /* all types of option meta types end */
58
59 /* all types of user meta types start */
60 define( 'KIRKI_USER_WALKTHROUGH_SHOWN_META_KEY','kirki_user_walkthrough_shown_state' );
61 /* all types of user meta types end */
62
63 define( 'KIRKI_EDITOR_ACTION', 'kirki' );
64
65 define(
66 'KIRKI_ACCESS_LEVELS',
67 array(
68 'NO_ACCESS' => 'no',
69 'FULL_ACCESS' => 'full',
70 'CONTENT_ACCESS' => 'content',
71 'VIEW_ACCESS' => 'view',
72 )
73 );
74 define( 'KIRKI_USERS_DEFAULT_FULL_ACCESS', array( 'administrator', 'editor' ) );
75
76 /* Custom DB table names */
77 define( 'KIRKI_FORM_TABLE','kirki_forms' );
78 define( 'KIRKI_FORM_DATA_TABLE','kirki_forms_data' );
79 define( 'KIRKI_COLLABORATION_TABLE','kirki_collaborations' );
80 define( 'KIRKI_CM_REFERENCE_TABLE','kirki_cm_reference' );
81 define( 'KIRKI_COMMENTS_TABLE','kirki_comments' );
82 /* Custom DB table names */
83
84 define(
85 'KIRKI_SUPPORTED_MEDIA_TYPES',
86 array(
87 'image' => array( 'image/jpeg', 'image/jpg', 'image/png', 'image/gif', 'image/webp' ),
88 'video' => array( 'video/mp4', 'video/ogg', 'video/quicktime' ),
89 'svg' => array( 'image/svg+xml' ),
90 'audio' => array( 'audio/mpeg', 'audio/ogg' ),
91 'json' => array( 'application/json' ),
92 'lottie' => array( 'text/plain', 'application/json' ),
93 'pdf' => array( 'application/pdf' ),
94 )
95 );
96
97
98 define(
99 'KIRKI_SUPPORTED_MEDIA_TYPES_FOR_FILE_INPUT',
100 array(
101 'default' => array( 'image/jpeg', 'image/jpg', 'image/png', 'image/gif', 'image/webp', 'video/mp4', 'video/ogg', 'video/quicktime', 'application/pdf', 'application/msword', 'text/plain' ),
102 '.doc, .pdf, .txt' => array( 'application/pdf', 'application/msword', 'text/plain' ),
103 '.mp4, .mov' => array( 'video/mp4', 'video/ogg', 'video/quicktime' ),
104 '.jpg, .jpeg, .png, .gif' => array( 'image/jpeg', 'image/jpg', 'image/png', 'image/gif', 'image/webp' ),
105 )
106 );
107
108 define(
109 'KIRKI_WORDPRESS_SORT_BY_OPTIONS',
110 array( 'none', 'ID', 'author', 'title', 'name', 'type', 'date', 'modified', 'parent', 'comment_count', 'menu_order' )
111 );
112
113 define(
114 'KIRKI_PRESERVED_CLASS_LIST',
115 array(
116 'kirki-current-tab',
117 'kirki-tab-active',
118 'kirki-slide-active',
119 'kirki-slider-nav-item-active',
120 'kirki-slider-arrow-left-active',
121 'kirki-slider-arrow-right-active',
122 'kirki-navigation-item-active',
123 'kirki-active',
124 'kirki-pagination-item-active',
125 'kirki-active-link',
126 )
127 );
128
129 define(
130 'KIRKI_PLUGIN_SETTINGS',
131 array(
132 'INPUT_TEXT' => array(
133 'type' => 'inputtext',
134 'placeholder' => 'Placeholder text',
135 ),
136 'INPUT' => array(
137 'type' => 'input',
138 'placeholder' => 'Placeholder text',
139 ),
140 'INPUT_NUMBER' => array(
141 'type' => 'inputnumber',
142 'placeholder' => 'Placeholder text',
143 ),
144 'DYNAMIC_INPUT' => array(
145 'type' => 'dynamicinput',
146 'placeholder' => 'Placeholder text',
147 ),
148 'CHECKBOX' => array( 'type' => 'checkbox' ),
149 'TOGGLER' => array( 'type' => 'toggler' ),
150 'COLOR_PICKER' => array(
151 'type' => 'colorpicker',
152 'title' => 'Heading Color',
153 ),
154 'SELECT' => array(
155 'type' => 'select',
156 'options' => array(
157 array(
158 'value' => 'value1',
159 'title' => 'Value One',
160 ),
161 array(
162 'value' => 'value2',
163 'title' => 'Value Two',
164 ),
165 ),
166 ),
167 'DIVIDER_FULL' => array(
168 'type' => 'divider',
169 'style' => 'full',
170 ),
171 'DIVIDER_HALF' => array(
172 'type' => 'divider',
173 'style' => 'half',
174 ),
175 'DIVIDER_TRANSPARENT' => array( 'type' => 'divider_tansparent' ),
176 'TAB' => array(
177 'type' => 'tab',
178 'tabs' => array(),
179 ),
180 'DATEPICKER' => array( 'type' => 'datepicker' ),
181 'SELECT_WITH_WP_POST_SUGGESTION' => array(
182 'postType' =>'kirki_popup',
183 'type' => 'select_with_wp_post_suggestion',
184 ),
185 )
186 );
187
188 define(
189 'KIRKI_MIGRATION_REPLACEMENTS',
190 array(
191 'droip_global_data' => 'kirki_global_data',
192 'droip_global_style_block' => 'kirki_global_style_block',
193 'droip_template_conditions' => 'kirki_template_conditions',
194 'droip_disabled_page_symbols' => 'kirki_disabled_page_symbols',
195 'droip_used_style_block_ids' => 'kirki_used_style_block_ids',
196 'droip_imported_batch_id' => 'kirki_imported_batch_id',
197 'droip_page_seo_settings' => 'kirki_page_seo_settings',
198 'droip_user_custom_fonts' => 'kirki_user_custom_fonts',
199 'droip_page_custom_code' => 'kirki_page_custom_code',
200 'droip_stage_versions' => 'kirki_stage_versions',
201 'droip_used_font_list' => 'kirki_used_font_list',
202 'droip_user_controller' => 'kirki_user_controller',
203 'droip_user_saved_data' => 'kirki_user_saved_data',
204 'droip_editor_mode' => 'kirki_editor_mode',
205 'droip_cm_fields' => 'kirki_cm_fields',
206 'droip_cm_field_' => 'kirki_cm_field_',
207
208 'droip_template' => 'kirki_template',
209 'droip_utility' => 'kirki_utility',
210 'droip_symbol' => 'kirki_symbol',
211 'droip_popup' => 'kirki_popup',
212 'droip_post' => 'kirki_post',
213 'droip_cm' => 'kirki_cm',
214
215 'DROIP_' => 'KIRKI_',
216 'Droip_' => 'Kirki_',
217 'droip_' => 'kirki_',
218 'droip-' => 'kirki-',
219 '_droip' => '_kirki',
220 '-droip' => '-kirki',
221
222 '"droip_' => '"kirki_',
223 '"droip"' => '"kirki"',
224 "'droip_" => "'kirki_",
225 "'droip'" => "'kirki'",
226
227 'droip' => 'kirki',
228 'Droip' => 'Kirki',
229 'DROIP' => 'KIRKI',
230 )
231 );