├── .gitignore
├── Readme.md
├── completions
├── actions.sublime-completions
├── capabilities.sublime-completions
├── classes.sublime-completions
├── constants.sublime-completions
├── filters.sublime-completions
├── functions.sublime-completions
└── methods.sublime-completions
├── messages.json
├── messages
├── changelog.txt
└── install.txt
└── snippets
├── plugin
├── plugin-class-singleton-with-license.sublime-snippet
├── plugin-class-singleton.sublime-snippet
├── plugin-class-static-with-license.sublime-snippet
├── plugin-class-static.sublime-snippet
├── plugin-header-with-license.sublime-snippet
├── plugin-header.sublime-snippet
├── plugin-readme.sublime-snippet
└── plugin-trait-singleton.sublime-snippet
├── post-type
├── post-type-message.sublime-snippet
├── register-post-type-args-can_export.sublime-snippet
├── register-post-type-args-capabilities.sublime-snippet
├── register-post-type-args-capability_type.sublime-snippet
├── register-post-type-args-delete-with-user.sublime-snippet
├── register-post-type-args-description.sublime-snippet
├── register-post-type-args-exclude_from_search.sublime-snippet
├── register-post-type-args-has_archive.sublime-snippet
├── register-post-type-args-hierarchical.sublime-snippet
├── register-post-type-args-label.sublime-snippet
├── register-post-type-args-labels.sublime-snippet
├── register-post-type-args-map_meta_cap.sublime-snippet
├── register-post-type-args-menu_icon.sublime-snippet
├── register-post-type-args-menu_position.sublime-snippet
├── register-post-type-args-permalink_epmask.sublime-snippet
├── register-post-type-args-public.sublime-snippet
├── register-post-type-args-publicly_queryable.sublime-snippet
├── register-post-type-args-query_var.sublime-snippet
├── register-post-type-args-register_meta_box_cb.sublime-snippet
├── register-post-type-args-rewrite.sublime-snippet
├── register-post-type-args-show_in_admin_bar.sublime-snippet
├── register-post-type-args-show_in_menu.sublime-snippet
├── register-post-type-args-show_in_nav_menus.sublime-snippet
├── register-post-type-args-show_ui.sublime-snippet
├── register-post-type-args-supports.sublime-snippet
├── register-post-type-args-taxonomies.sublime-snippet
├── register-post-type.sublime-snippet
└── template.php
├── schedule
├── schedule-event.sublime-snippet
└── unschedule-next-event.sublime-snippet
├── taxonomy
├── register-taxonomy-args-capabilities.sublime-snippet
├── register-taxonomy-args-description.sublime-snippet
├── register-taxonomy-args-hierarchical.sublime-snippet
├── register-taxonomy-args-label.sublime-snippet
├── register-taxonomy-args-labels.sublime-snippet
├── register-taxonomy-args-public.sublime-snippet
├── register-taxonomy-args-publicly_queryable.sublime-snippet
├── register-taxonomy-args-query_var.sublime-snippet
├── register-taxonomy-args-register_meta_box_cb.sublime-snippet
├── register-taxonomy-args-rewrite.sublime-snippet
├── register-taxonomy-args-show_admin_column.sublime-snippet
├── register-taxonomy-args-show_in_menu.sublime-snippet
├── register-taxonomy-args-show_in_nav_menus.sublime-snippet
├── register-taxonomy-args-show_in_quick_edit.sublime-snippet
├── register-taxonomy-args-show_tagcloud.sublime-snippet
├── register-taxonomy-args-show_ui.sublime-snippet
├── register-taxonomy-args-update_count_callback.sublime-snippet
├── register-taxonomy.sublime-snippet
└── template.php
├── unclassified
├── contextual-help-tabs.sublime-snippet
├── phpdoc-header.sublime-snippet
├── secure-file.sublime-snippet
└── theme-widget.sublime-snippet
└── wp-query
├── arguments.php
├── wp-query-args-author.sublime-snippet
├── wp-query-args-caching.sublime-snippet
├── wp-query-args-category.sublime-snippet
├── wp-query-args-date-query.sublime-snippet
├── wp-query-args-date.sublime-snippet
├── wp-query-args-fields.sublime-snippet
├── wp-query-args-meta-query.sublime-snippet
├── wp-query-args-meta.sublime-snippet
├── wp-query-args-order-orderby.sublime-snippet
├── wp-query-args-order.sublime-snippet
├── wp-query-args-orderby.sublime-snippet
├── wp-query-args-page.sublime-snippet
├── wp-query-args-pagination.sublime-snippet
├── wp-query-args-password.sublime-snippet
├── wp-query-args-permission.sublime-snippet
├── wp-query-args-post.sublime-snippet
├── wp-query-args-search.sublime-snippet
├── wp-query-args-status.sublime-snippet
├── wp-query-args-tag.sublime-snippet
├── wp-query-args-taxonomy.sublime-snippet
├── wp-query-args-type.sublime-snippet
└── wp-query.sublime-snippet
/.gitignore:
--------------------------------------------------------------------------------
1 | wiki/
2 |
--------------------------------------------------------------------------------
/Readme.md:
--------------------------------------------------------------------------------
1 | ## WordPress Completions
2 |
3 | **It will no longer be updated. If someone wants to keep updating it, contact me.**
4 |
5 | Is a collection of the completions and some snippets for Sublime Text
6 |
7 | ### Completions List
8 |
9 | | Type | Completions |
10 | | ------------ | ----------- |
11 | | Functions | **2901** |
12 | | Actions | **684** |
13 | | Filters | **1640** |
14 | | Classes | **404** |
15 | | Methods | **3705** |
16 | | Constants | **527** |
17 | | Capabilities | **125** |
18 |
19 | ### How to use
20 |
21 | * Use `wp-` for view some completions
22 | * Use `add_action-` for view actions completions
23 | * Use `add_filter-` for view filters completions
24 | * Use functions, constants or classes names, for e.g. plugin_dir... for view completions
25 | * Use `name_of_class-method_name` for view method completions. e.g `WP_Error-add` by default all Classes wrap with sublime format completions
26 | * Use `ctrl+space` or `alt+/` in linux for call completions if tag ` Select all parameters
29 | - Each Tab There after --> Selects each individual parameter or block
30 |
31 | ### Another Informations
32 |
33 | * More info inside of [wiki](https://github.com/kallookoo/sublime-text-wordpress/wiki) page.
34 | * Deprecated Functions, Constants, Classes, Methods, Actions, Filters have been removed
35 | * WordPress back compatibility files is not included, as support for PHP versions
36 | * Actions or Filter add two version of the completion only this not is dynamic name
37 |
38 | #### Example of completion file for Hooks
39 |
40 | With dynamic name:
41 |
42 | ```
43 | {
44 | "trigger": "add_action-load-{$page_hook}\tWP Action",
45 | "contents": "add_action( \"load-${1:\\{${2:\\$page_hook}\\}}\", ${3:\\$function_to_add}, ${4:10} );"
46 | },
47 | ```
48 | Without dynamic name:
49 |
50 | ```
51 | {
52 | "trigger": "add_action-init\tWP Action",
53 | "contents": "add_action( 'init', ${1:\\$function_to_add}, ${2:10} );"
54 | },
55 | {
56 | "trigger": "init\tWP Action Name",
57 | "contents": "init"
58 | },
59 | ```
60 |
61 | - This first trigger use add_action- for get all actions and continue by name of the action, returns everything you need to create.
62 | - The second trigger simply use the name and return this name.
63 |
64 | * Some snippet the last index if used to delete this comments
65 | * If use Sublime Text before 3092 is possible what some snippet not working.
66 | * If your problem with `alt+/` to show completions popup, set key bindings with `ctrl+space` by example.
67 |
68 | ### Install
69 |
70 | Find WordPress Completions inside of Package Control
71 |
72 | ### Issues
73 |
74 | You found some issue, please create an [issue](https://github.com/kallookoo/sublime-text-wordpress/issues/new) to solve it.
75 |
76 | ### Donate
77 |
78 | You are welcome support this project using [Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VXY7T7VKL78VA)
79 |
--------------------------------------------------------------------------------
/completions/capabilities.sublime-completions:
--------------------------------------------------------------------------------
1 | {
2 | "scope": "source.php - variable.other.php",
3 | "comment": "125 WordPress - Capabilities",
4 | "completions": [
5 | {
6 | "trigger": "activate_plugin\tWP Capability",
7 | "contents": "activate_plugin"
8 | },
9 | {
10 | "trigger": "activate_plugins\tWP Capability",
11 | "contents": "activate_plugins"
12 | },
13 | {
14 | "trigger": "add_comment_meta\tWP Capability",
15 | "contents": "add_comment_meta"
16 | },
17 | {
18 | "trigger": "add_post_meta\tWP Capability",
19 | "contents": "add_post_meta"
20 | },
21 | {
22 | "trigger": "add_term_meta\tWP Capability",
23 | "contents": "add_term_meta"
24 | },
25 | {
26 | "trigger": "add_user_meta\tWP Capability",
27 | "contents": "add_user_meta"
28 | },
29 | {
30 | "trigger": "add_users\tWP Capability",
31 | "contents": "add_users"
32 | },
33 | {
34 | "trigger": "assign_categories\tWP Capability",
35 | "contents": "assign_categories"
36 | },
37 | {
38 | "trigger": "assign_post_tags\tWP Capability",
39 | "contents": "assign_post_tags"
40 | },
41 | {
42 | "trigger": "assign_term\tWP Capability",
43 | "contents": "assign_term"
44 | },
45 | {
46 | "trigger": "assign_terms\tWP Capability",
47 | "contents": "assign_terms"
48 | },
49 | {
50 | "trigger": "create_sites\tWP Capability",
51 | "contents": "create_sites"
52 | },
53 | {
54 | "trigger": "create_users\tWP Capability",
55 | "contents": "create_users"
56 | },
57 | {
58 | "trigger": "customize\tWP Capability",
59 | "contents": "customize"
60 | },
61 | {
62 | "trigger": "deactivate_plugin\tWP Capability",
63 | "contents": "deactivate_plugin"
64 | },
65 | {
66 | "trigger": "deactivate_plugins\tWP Capability",
67 | "contents": "deactivate_plugins"
68 | },
69 | {
70 | "trigger": "delete_blocks\tWP Capability",
71 | "contents": "delete_blocks"
72 | },
73 | {
74 | "trigger": "delete_categories\tWP Capability",
75 | "contents": "delete_categories"
76 | },
77 | {
78 | "trigger": "delete_comment_meta\tWP Capability",
79 | "contents": "delete_comment_meta"
80 | },
81 | {
82 | "trigger": "delete_others_blocks\tWP Capability",
83 | "contents": "delete_others_blocks"
84 | },
85 | {
86 | "trigger": "delete_others_pages\tWP Capability",
87 | "contents": "delete_others_pages"
88 | },
89 | {
90 | "trigger": "delete_others_posts\tWP Capability",
91 | "contents": "delete_others_posts"
92 | },
93 | {
94 | "trigger": "delete_page\tWP Capability",
95 | "contents": "delete_page"
96 | },
97 | {
98 | "trigger": "delete_pages\tWP Capability",
99 | "contents": "delete_pages"
100 | },
101 | {
102 | "trigger": "delete_plugins\tWP Capability",
103 | "contents": "delete_plugins"
104 | },
105 | {
106 | "trigger": "delete_post\tWP Capability",
107 | "contents": "delete_post"
108 | },
109 | {
110 | "trigger": "delete_post_meta\tWP Capability",
111 | "contents": "delete_post_meta"
112 | },
113 | {
114 | "trigger": "delete_post_tags\tWP Capability",
115 | "contents": "delete_post_tags"
116 | },
117 | {
118 | "trigger": "delete_posts\tWP Capability",
119 | "contents": "delete_posts"
120 | },
121 | {
122 | "trigger": "delete_private_blocks\tWP Capability",
123 | "contents": "delete_private_blocks"
124 | },
125 | {
126 | "trigger": "delete_private_pages\tWP Capability",
127 | "contents": "delete_private_pages"
128 | },
129 | {
130 | "trigger": "delete_private_posts\tWP Capability",
131 | "contents": "delete_private_posts"
132 | },
133 | {
134 | "trigger": "delete_published_blocks\tWP Capability",
135 | "contents": "delete_published_blocks"
136 | },
137 | {
138 | "trigger": "delete_published_pages\tWP Capability",
139 | "contents": "delete_published_pages"
140 | },
141 | {
142 | "trigger": "delete_published_posts\tWP Capability",
143 | "contents": "delete_published_posts"
144 | },
145 | {
146 | "trigger": "delete_site\tWP Capability",
147 | "contents": "delete_site"
148 | },
149 | {
150 | "trigger": "delete_sites\tWP Capability",
151 | "contents": "delete_sites"
152 | },
153 | {
154 | "trigger": "delete_term\tWP Capability",
155 | "contents": "delete_term"
156 | },
157 | {
158 | "trigger": "delete_term_meta\tWP Capability",
159 | "contents": "delete_term_meta"
160 | },
161 | {
162 | "trigger": "delete_themes\tWP Capability",
163 | "contents": "delete_themes"
164 | },
165 | {
166 | "trigger": "delete_user\tWP Capability",
167 | "contents": "delete_user"
168 | },
169 | {
170 | "trigger": "delete_user_meta\tWP Capability",
171 | "contents": "delete_user_meta"
172 | },
173 | {
174 | "trigger": "delete_users\tWP Capability",
175 | "contents": "delete_users"
176 | },
177 | {
178 | "trigger": "edit_blocks\tWP Capability",
179 | "contents": "edit_blocks"
180 | },
181 | {
182 | "trigger": "edit_categories\tWP Capability",
183 | "contents": "edit_categories"
184 | },
185 | {
186 | "trigger": "edit_comment\tWP Capability",
187 | "contents": "edit_comment"
188 | },
189 | {
190 | "trigger": "edit_comment_meta\tWP Capability",
191 | "contents": "edit_comment_meta"
192 | },
193 | {
194 | "trigger": "edit_css\tWP Capability",
195 | "contents": "edit_css"
196 | },
197 | {
198 | "trigger": "edit_dashboard\tWP Capability",
199 | "contents": "edit_dashboard"
200 | },
201 | {
202 | "trigger": "edit_files\tWP Capability",
203 | "contents": "edit_files"
204 | },
205 | {
206 | "trigger": "edit_others_blocks\tWP Capability",
207 | "contents": "edit_others_blocks"
208 | },
209 | {
210 | "trigger": "edit_others_pages\tWP Capability",
211 | "contents": "edit_others_pages"
212 | },
213 | {
214 | "trigger": "edit_others_posts\tWP Capability",
215 | "contents": "edit_others_posts"
216 | },
217 | {
218 | "trigger": "edit_page\tWP Capability",
219 | "contents": "edit_page"
220 | },
221 | {
222 | "trigger": "edit_pages\tWP Capability",
223 | "contents": "edit_pages"
224 | },
225 | {
226 | "trigger": "edit_plugins\tWP Capability",
227 | "contents": "edit_plugins"
228 | },
229 | {
230 | "trigger": "edit_post\tWP Capability",
231 | "contents": "edit_post"
232 | },
233 | {
234 | "trigger": "edit_post_meta\tWP Capability",
235 | "contents": "edit_post_meta"
236 | },
237 | {
238 | "trigger": "edit_post_tags\tWP Capability",
239 | "contents": "edit_post_tags"
240 | },
241 | {
242 | "trigger": "edit_posts\tWP Capability",
243 | "contents": "edit_posts"
244 | },
245 | {
246 | "trigger": "edit_private_blocks\tWP Capability",
247 | "contents": "edit_private_blocks"
248 | },
249 | {
250 | "trigger": "edit_private_pages\tWP Capability",
251 | "contents": "edit_private_pages"
252 | },
253 | {
254 | "trigger": "edit_private_posts\tWP Capability",
255 | "contents": "edit_private_posts"
256 | },
257 | {
258 | "trigger": "edit_published_blocks\tWP Capability",
259 | "contents": "edit_published_blocks"
260 | },
261 | {
262 | "trigger": "edit_published_pages\tWP Capability",
263 | "contents": "edit_published_pages"
264 | },
265 | {
266 | "trigger": "edit_published_posts\tWP Capability",
267 | "contents": "edit_published_posts"
268 | },
269 | {
270 | "trigger": "edit_term\tWP Capability",
271 | "contents": "edit_term"
272 | },
273 | {
274 | "trigger": "edit_term_meta\tWP Capability",
275 | "contents": "edit_term_meta"
276 | },
277 | {
278 | "trigger": "edit_theme_options\tWP Capability",
279 | "contents": "edit_theme_options"
280 | },
281 | {
282 | "trigger": "edit_themes\tWP Capability",
283 | "contents": "edit_themes"
284 | },
285 | {
286 | "trigger": "edit_user\tWP Capability",
287 | "contents": "edit_user"
288 | },
289 | {
290 | "trigger": "edit_user_meta\tWP Capability",
291 | "contents": "edit_user_meta"
292 | },
293 | {
294 | "trigger": "edit_users\tWP Capability",
295 | "contents": "edit_users"
296 | },
297 | {
298 | "trigger": "erase_others_personal_data\tWP Capability",
299 | "contents": "erase_others_personal_data"
300 | },
301 | {
302 | "trigger": "export\tWP Capability",
303 | "contents": "export"
304 | },
305 | {
306 | "trigger": "export_others_personal_data\tWP Capability",
307 | "contents": "export_others_personal_data"
308 | },
309 | {
310 | "trigger": "import\tWP Capability",
311 | "contents": "import"
312 | },
313 | {
314 | "trigger": "install_languages\tWP Capability",
315 | "contents": "install_languages"
316 | },
317 | {
318 | "trigger": "install_plugins\tWP Capability",
319 | "contents": "install_plugins"
320 | },
321 | {
322 | "trigger": "install_themes\tWP Capability",
323 | "contents": "install_themes"
324 | },
325 | {
326 | "trigger": "list_users\tWP Capability",
327 | "contents": "list_users"
328 | },
329 | {
330 | "trigger": "manage_categories\tWP Capability",
331 | "contents": "manage_categories"
332 | },
333 | {
334 | "trigger": "manage_links\tWP Capability",
335 | "contents": "manage_links"
336 | },
337 | {
338 | "trigger": "manage_network\tWP Capability",
339 | "contents": "manage_network"
340 | },
341 | {
342 | "trigger": "manage_network_options\tWP Capability",
343 | "contents": "manage_network_options"
344 | },
345 | {
346 | "trigger": "manage_network_plugins\tWP Capability",
347 | "contents": "manage_network_plugins"
348 | },
349 | {
350 | "trigger": "manage_network_themes\tWP Capability",
351 | "contents": "manage_network_themes"
352 | },
353 | {
354 | "trigger": "manage_network_users\tWP Capability",
355 | "contents": "manage_network_users"
356 | },
357 | {
358 | "trigger": "manage_options\tWP Capability",
359 | "contents": "manage_options"
360 | },
361 | {
362 | "trigger": "manage_post_tags\tWP Capability",
363 | "contents": "manage_post_tags"
364 | },
365 | {
366 | "trigger": "manage_privacy_options\tWP Capability",
367 | "contents": "manage_privacy_options"
368 | },
369 | {
370 | "trigger": "manage_sites\tWP Capability",
371 | "contents": "manage_sites"
372 | },
373 | {
374 | "trigger": "moderate_comments\tWP Capability",
375 | "contents": "moderate_comments"
376 | },
377 | {
378 | "trigger": "promote_user\tWP Capability",
379 | "contents": "promote_user"
380 | },
381 | {
382 | "trigger": "promote_users\tWP Capability",
383 | "contents": "promote_users"
384 | },
385 | {
386 | "trigger": "publish_blocks\tWP Capability",
387 | "contents": "publish_blocks"
388 | },
389 | {
390 | "trigger": "publish_pages\tWP Capability",
391 | "contents": "publish_pages"
392 | },
393 | {
394 | "trigger": "publish_post\tWP Capability",
395 | "contents": "publish_post"
396 | },
397 | {
398 | "trigger": "publish_posts\tWP Capability",
399 | "contents": "publish_posts"
400 | },
401 | {
402 | "trigger": "read\tWP Capability",
403 | "contents": "read"
404 | },
405 | {
406 | "trigger": "read_page\tWP Capability",
407 | "contents": "read_page"
408 | },
409 | {
410 | "trigger": "read_post\tWP Capability",
411 | "contents": "read_post"
412 | },
413 | {
414 | "trigger": "read_private_blocks\tWP Capability",
415 | "contents": "read_private_blocks"
416 | },
417 | {
418 | "trigger": "read_private_pages\tWP Capability",
419 | "contents": "read_private_pages"
420 | },
421 | {
422 | "trigger": "read_private_posts\tWP Capability",
423 | "contents": "read_private_posts"
424 | },
425 | {
426 | "trigger": "remove_user\tWP Capability",
427 | "contents": "remove_user"
428 | },
429 | {
430 | "trigger": "remove_users\tWP Capability",
431 | "contents": "remove_users"
432 | },
433 | {
434 | "trigger": "resume_plugin\tWP Capability",
435 | "contents": "resume_plugin"
436 | },
437 | {
438 | "trigger": "resume_plugins\tWP Capability",
439 | "contents": "resume_plugins"
440 | },
441 | {
442 | "trigger": "resume_theme\tWP Capability",
443 | "contents": "resume_theme"
444 | },
445 | {
446 | "trigger": "resume_themes\tWP Capability",
447 | "contents": "resume_themes"
448 | },
449 | {
450 | "trigger": "setup_network\tWP Capability",
451 | "contents": "setup_network"
452 | },
453 | {
454 | "trigger": "switch_themes\tWP Capability",
455 | "contents": "switch_themes"
456 | },
457 | {
458 | "trigger": "unfiltered_html\tWP Capability",
459 | "contents": "unfiltered_html"
460 | },
461 | {
462 | "trigger": "unfiltered_upload\tWP Capability",
463 | "contents": "unfiltered_upload"
464 | },
465 | {
466 | "trigger": "update_core\tWP Capability",
467 | "contents": "update_core"
468 | },
469 | {
470 | "trigger": "update_languages\tWP Capability",
471 | "contents": "update_languages"
472 | },
473 | {
474 | "trigger": "update_php\tWP Capability",
475 | "contents": "update_php"
476 | },
477 | {
478 | "trigger": "update_plugins\tWP Capability",
479 | "contents": "update_plugins"
480 | },
481 | {
482 | "trigger": "update_themes\tWP Capability",
483 | "contents": "update_themes"
484 | },
485 | {
486 | "trigger": "upgrade_network\tWP Capability",
487 | "contents": "upgrade_network"
488 | },
489 | {
490 | "trigger": "upload_files\tWP Capability",
491 | "contents": "upload_files"
492 | },
493 | {
494 | "trigger": "upload_plugins\tWP Capability",
495 | "contents": "upload_plugins"
496 | },
497 | {
498 | "trigger": "upload_themes\tWP Capability",
499 | "contents": "upload_themes"
500 | },
501 | {
502 | "trigger": "view_site_health_checks\tWP Capability",
503 | "contents": "view_site_health_checks"
504 | }
505 | ]
506 | }
--------------------------------------------------------------------------------
/completions/classes.sublime-completions:
--------------------------------------------------------------------------------
1 | {
2 | "scope": "source.php - variable.other.php",
3 | "comment": "404 WordPress - Classes",
4 | "completions": [
5 | {
6 | "trigger": "_WP_Dependency\tWP Class Name",
7 | "contents": "_WP_Dependency"
8 | },
9 | {
10 | "trigger": "_WP_Editors\tWP Class Name",
11 | "contents": "_WP_Editors"
12 | },
13 | {
14 | "trigger": "_WP_List_Table_Compat\tWP Class Name",
15 | "contents": "_WP_List_Table_Compat"
16 | },
17 | {
18 | "trigger": "AMFReader\tWP Class Name",
19 | "contents": "AMFReader"
20 | },
21 | {
22 | "trigger": "AMFStream\tWP Class Name",
23 | "contents": "AMFStream"
24 | },
25 | {
26 | "trigger": "AtomEntry\tWP Class Name",
27 | "contents": "AtomEntry"
28 | },
29 | {
30 | "trigger": "AtomFeed\tWP Class Name",
31 | "contents": "AtomFeed"
32 | },
33 | {
34 | "trigger": "AtomParser\tWP Class Name",
35 | "contents": "AtomParser"
36 | },
37 | {
38 | "trigger": "Automatic_Upgrader_Skin\tWP Class Name",
39 | "contents": "Automatic_Upgrader_Skin"
40 | },
41 | {
42 | "trigger": "AVCSequenceParameterSetReader\tWP Class Name",
43 | "contents": "AVCSequenceParameterSetReader"
44 | },
45 | {
46 | "trigger": "Bulk_Plugin_Upgrader_Skin\tWP Class Name",
47 | "contents": "Bulk_Plugin_Upgrader_Skin"
48 | },
49 | {
50 | "trigger": "Bulk_Theme_Upgrader_Skin\tWP Class Name",
51 | "contents": "Bulk_Theme_Upgrader_Skin"
52 | },
53 | {
54 | "trigger": "Bulk_Upgrader_Skin\tWP Class Name",
55 | "contents": "Bulk_Upgrader_Skin"
56 | },
57 | {
58 | "trigger": "Core_Upgrader\tWP Class Name",
59 | "contents": "Core_Upgrader"
60 | },
61 | {
62 | "trigger": "Custom_Background\tWP Class Name",
63 | "contents": "Custom_Background"
64 | },
65 | {
66 | "trigger": "Custom_Image_Header\tWP Class Name",
67 | "contents": "Custom_Image_Header"
68 | },
69 | {
70 | "trigger": "Exception\tWP Class Name",
71 | "contents": "Exception"
72 | },
73 | {
74 | "trigger": "File_Upload_Upgrader\tWP Class Name",
75 | "contents": "File_Upload_Upgrader"
76 | },
77 | {
78 | "trigger": "ftp\tWP Class Name",
79 | "contents": "ftp"
80 | },
81 | {
82 | "trigger": "ftp_base\tWP Class Name",
83 | "contents": "ftp_base"
84 | },
85 | {
86 | "trigger": "ftp_pure\tWP Class Name",
87 | "contents": "ftp_pure"
88 | },
89 | {
90 | "trigger": "ftp_sockets\tWP Class Name",
91 | "contents": "ftp_sockets"
92 | },
93 | {
94 | "trigger": "getID3\tWP Class Name",
95 | "contents": "getID3"
96 | },
97 | {
98 | "trigger": "getid3_ac3\tWP Class Name",
99 | "contents": "getid3_ac3"
100 | },
101 | {
102 | "trigger": "getid3_apetag\tWP Class Name",
103 | "contents": "getid3_apetag"
104 | },
105 | {
106 | "trigger": "getid3_asf\tWP Class Name",
107 | "contents": "getid3_asf"
108 | },
109 | {
110 | "trigger": "getid3_dts\tWP Class Name",
111 | "contents": "getid3_dts"
112 | },
113 | {
114 | "trigger": "getid3_exception\tWP Class Name",
115 | "contents": "getid3_exception"
116 | },
117 | {
118 | "trigger": "getid3_flac\tWP Class Name",
119 | "contents": "getid3_flac"
120 | },
121 | {
122 | "trigger": "getid3_flv\tWP Class Name",
123 | "contents": "getid3_flv"
124 | },
125 | {
126 | "trigger": "getid3_handler\tWP Class Name",
127 | "contents": "getid3_handler"
128 | },
129 | {
130 | "trigger": "getid3_id3v1\tWP Class Name",
131 | "contents": "getid3_id3v1"
132 | },
133 | {
134 | "trigger": "getid3_id3v2\tWP Class Name",
135 | "contents": "getid3_id3v2"
136 | },
137 | {
138 | "trigger": "getid3_lib\tWP Class Name",
139 | "contents": "getid3_lib"
140 | },
141 | {
142 | "trigger": "getid3_lyrics3\tWP Class Name",
143 | "contents": "getid3_lyrics3"
144 | },
145 | {
146 | "trigger": "getid3_matroska\tWP Class Name",
147 | "contents": "getid3_matroska"
148 | },
149 | {
150 | "trigger": "getid3_mp3\tWP Class Name",
151 | "contents": "getid3_mp3"
152 | },
153 | {
154 | "trigger": "getid3_ogg\tWP Class Name",
155 | "contents": "getid3_ogg"
156 | },
157 | {
158 | "trigger": "getid3_quicktime\tWP Class Name",
159 | "contents": "getid3_quicktime"
160 | },
161 | {
162 | "trigger": "getid3_riff\tWP Class Name",
163 | "contents": "getid3_riff"
164 | },
165 | {
166 | "trigger": "Gettext_Translations\tWP Class Name",
167 | "contents": "Gettext_Translations"
168 | },
169 | {
170 | "trigger": "IXR_Base64\tWP Class Name",
171 | "contents": "IXR_Base64"
172 | },
173 | {
174 | "trigger": "IXR_Client\tWP Class Name",
175 | "contents": "IXR_Client"
176 | },
177 | {
178 | "trigger": "IXR_ClientMulticall\tWP Class Name",
179 | "contents": "IXR_ClientMulticall"
180 | },
181 | {
182 | "trigger": "IXR_Date\tWP Class Name",
183 | "contents": "IXR_Date"
184 | },
185 | {
186 | "trigger": "IXR_Error\tWP Class Name",
187 | "contents": "IXR_Error"
188 | },
189 | {
190 | "trigger": "IXR_IntrospectionServer\tWP Class Name",
191 | "contents": "IXR_IntrospectionServer"
192 | },
193 | {
194 | "trigger": "IXR_Message\tWP Class Name",
195 | "contents": "IXR_Message"
196 | },
197 | {
198 | "trigger": "IXR_Request\tWP Class Name",
199 | "contents": "IXR_Request"
200 | },
201 | {
202 | "trigger": "IXR_Server\tWP Class Name",
203 | "contents": "IXR_Server"
204 | },
205 | {
206 | "trigger": "IXR_Value\tWP Class Name",
207 | "contents": "IXR_Value"
208 | },
209 | {
210 | "trigger": "Language_Pack_Upgrader\tWP Class Name",
211 | "contents": "Language_Pack_Upgrader"
212 | },
213 | {
214 | "trigger": "Language_Pack_Upgrader_Skin\tWP Class Name",
215 | "contents": "Language_Pack_Upgrader_Skin"
216 | },
217 | {
218 | "trigger": "MO\tWP Class Name",
219 | "contents": "MO"
220 | },
221 | {
222 | "trigger": "NOOP_Translations\tWP Class Name",
223 | "contents": "NOOP_Translations"
224 | },
225 | {
226 | "trigger": "PasswordHash\tWP Class Name",
227 | "contents": "PasswordHash"
228 | },
229 | {
230 | "trigger": "PclZip\tWP Class Name",
231 | "contents": "PclZip"
232 | },
233 | {
234 | "trigger": "PHPMailer\tWP Class Name",
235 | "contents": "PHPMailer"
236 | },
237 | {
238 | "trigger": "Plugin_Installer_Skin\tWP Class Name",
239 | "contents": "Plugin_Installer_Skin"
240 | },
241 | {
242 | "trigger": "Plugin_Upgrader\tWP Class Name",
243 | "contents": "Plugin_Upgrader"
244 | },
245 | {
246 | "trigger": "Plugin_Upgrader_Skin\tWP Class Name",
247 | "contents": "Plugin_Upgrader_Skin"
248 | },
249 | {
250 | "trigger": "Plural_Forms\tWP Class Name",
251 | "contents": "Plural_Forms"
252 | },
253 | {
254 | "trigger": "PO\tWP Class Name",
255 | "contents": "PO"
256 | },
257 | {
258 | "trigger": "POMO_CachedFileReader\tWP Class Name",
259 | "contents": "POMO_CachedFileReader"
260 | },
261 | {
262 | "trigger": "POMO_CachedIntFileReader\tWP Class Name",
263 | "contents": "POMO_CachedIntFileReader"
264 | },
265 | {
266 | "trigger": "POMO_FileReader\tWP Class Name",
267 | "contents": "POMO_FileReader"
268 | },
269 | {
270 | "trigger": "POMO_Reader\tWP Class Name",
271 | "contents": "POMO_Reader"
272 | },
273 | {
274 | "trigger": "POMO_StringReader\tWP Class Name",
275 | "contents": "POMO_StringReader"
276 | },
277 | {
278 | "trigger": "POP3\tWP Class Name",
279 | "contents": "POP3"
280 | },
281 | {
282 | "trigger": "Requests\tWP Class Name",
283 | "contents": "Requests"
284 | },
285 | {
286 | "trigger": "Requests_Auth_Basic\tWP Class Name",
287 | "contents": "Requests_Auth_Basic"
288 | },
289 | {
290 | "trigger": "Requests_Cookie\tWP Class Name",
291 | "contents": "Requests_Cookie"
292 | },
293 | {
294 | "trigger": "Requests_Cookie_Jar\tWP Class Name",
295 | "contents": "Requests_Cookie_Jar"
296 | },
297 | {
298 | "trigger": "Requests_Exception\tWP Class Name",
299 | "contents": "Requests_Exception"
300 | },
301 | {
302 | "trigger": "Requests_Exception_HTTP\tWP Class Name",
303 | "contents": "Requests_Exception_HTTP"
304 | },
305 | {
306 | "trigger": "Requests_Exception_HTTP_304\tWP Class Name",
307 | "contents": "Requests_Exception_HTTP_304"
308 | },
309 | {
310 | "trigger": "Requests_Exception_HTTP_305\tWP Class Name",
311 | "contents": "Requests_Exception_HTTP_305"
312 | },
313 | {
314 | "trigger": "Requests_Exception_HTTP_306\tWP Class Name",
315 | "contents": "Requests_Exception_HTTP_306"
316 | },
317 | {
318 | "trigger": "Requests_Exception_HTTP_400\tWP Class Name",
319 | "contents": "Requests_Exception_HTTP_400"
320 | },
321 | {
322 | "trigger": "Requests_Exception_HTTP_401\tWP Class Name",
323 | "contents": "Requests_Exception_HTTP_401"
324 | },
325 | {
326 | "trigger": "Requests_Exception_HTTP_402\tWP Class Name",
327 | "contents": "Requests_Exception_HTTP_402"
328 | },
329 | {
330 | "trigger": "Requests_Exception_HTTP_403\tWP Class Name",
331 | "contents": "Requests_Exception_HTTP_403"
332 | },
333 | {
334 | "trigger": "Requests_Exception_HTTP_404\tWP Class Name",
335 | "contents": "Requests_Exception_HTTP_404"
336 | },
337 | {
338 | "trigger": "Requests_Exception_HTTP_405\tWP Class Name",
339 | "contents": "Requests_Exception_HTTP_405"
340 | },
341 | {
342 | "trigger": "Requests_Exception_HTTP_406\tWP Class Name",
343 | "contents": "Requests_Exception_HTTP_406"
344 | },
345 | {
346 | "trigger": "Requests_Exception_HTTP_407\tWP Class Name",
347 | "contents": "Requests_Exception_HTTP_407"
348 | },
349 | {
350 | "trigger": "Requests_Exception_HTTP_408\tWP Class Name",
351 | "contents": "Requests_Exception_HTTP_408"
352 | },
353 | {
354 | "trigger": "Requests_Exception_HTTP_409\tWP Class Name",
355 | "contents": "Requests_Exception_HTTP_409"
356 | },
357 | {
358 | "trigger": "Requests_Exception_HTTP_410\tWP Class Name",
359 | "contents": "Requests_Exception_HTTP_410"
360 | },
361 | {
362 | "trigger": "Requests_Exception_HTTP_411\tWP Class Name",
363 | "contents": "Requests_Exception_HTTP_411"
364 | },
365 | {
366 | "trigger": "Requests_Exception_HTTP_412\tWP Class Name",
367 | "contents": "Requests_Exception_HTTP_412"
368 | },
369 | {
370 | "trigger": "Requests_Exception_HTTP_413\tWP Class Name",
371 | "contents": "Requests_Exception_HTTP_413"
372 | },
373 | {
374 | "trigger": "Requests_Exception_HTTP_414\tWP Class Name",
375 | "contents": "Requests_Exception_HTTP_414"
376 | },
377 | {
378 | "trigger": "Requests_Exception_HTTP_415\tWP Class Name",
379 | "contents": "Requests_Exception_HTTP_415"
380 | },
381 | {
382 | "trigger": "Requests_Exception_HTTP_416\tWP Class Name",
383 | "contents": "Requests_Exception_HTTP_416"
384 | },
385 | {
386 | "trigger": "Requests_Exception_HTTP_417\tWP Class Name",
387 | "contents": "Requests_Exception_HTTP_417"
388 | },
389 | {
390 | "trigger": "Requests_Exception_HTTP_418\tWP Class Name",
391 | "contents": "Requests_Exception_HTTP_418"
392 | },
393 | {
394 | "trigger": "Requests_Exception_HTTP_428\tWP Class Name",
395 | "contents": "Requests_Exception_HTTP_428"
396 | },
397 | {
398 | "trigger": "Requests_Exception_HTTP_429\tWP Class Name",
399 | "contents": "Requests_Exception_HTTP_429"
400 | },
401 | {
402 | "trigger": "Requests_Exception_HTTP_431\tWP Class Name",
403 | "contents": "Requests_Exception_HTTP_431"
404 | },
405 | {
406 | "trigger": "Requests_Exception_HTTP_500\tWP Class Name",
407 | "contents": "Requests_Exception_HTTP_500"
408 | },
409 | {
410 | "trigger": "Requests_Exception_HTTP_501\tWP Class Name",
411 | "contents": "Requests_Exception_HTTP_501"
412 | },
413 | {
414 | "trigger": "Requests_Exception_HTTP_502\tWP Class Name",
415 | "contents": "Requests_Exception_HTTP_502"
416 | },
417 | {
418 | "trigger": "Requests_Exception_HTTP_503\tWP Class Name",
419 | "contents": "Requests_Exception_HTTP_503"
420 | },
421 | {
422 | "trigger": "Requests_Exception_HTTP_504\tWP Class Name",
423 | "contents": "Requests_Exception_HTTP_504"
424 | },
425 | {
426 | "trigger": "Requests_Exception_HTTP_505\tWP Class Name",
427 | "contents": "Requests_Exception_HTTP_505"
428 | },
429 | {
430 | "trigger": "Requests_Exception_HTTP_511\tWP Class Name",
431 | "contents": "Requests_Exception_HTTP_511"
432 | },
433 | {
434 | "trigger": "Requests_Exception_HTTP_Unknown\tWP Class Name",
435 | "contents": "Requests_Exception_HTTP_Unknown"
436 | },
437 | {
438 | "trigger": "Requests_Exception_Transport\tWP Class Name",
439 | "contents": "Requests_Exception_Transport"
440 | },
441 | {
442 | "trigger": "Requests_Exception_Transport_cURL\tWP Class Name",
443 | "contents": "Requests_Exception_Transport_cURL"
444 | },
445 | {
446 | "trigger": "Requests_Hooks\tWP Class Name",
447 | "contents": "Requests_Hooks"
448 | },
449 | {
450 | "trigger": "Requests_IDNAEncoder\tWP Class Name",
451 | "contents": "Requests_IDNAEncoder"
452 | },
453 | {
454 | "trigger": "Requests_IPv6\tWP Class Name",
455 | "contents": "Requests_IPv6"
456 | },
457 | {
458 | "trigger": "Requests_IRI\tWP Class Name",
459 | "contents": "Requests_IRI"
460 | },
461 | {
462 | "trigger": "Requests_Proxy_HTTP\tWP Class Name",
463 | "contents": "Requests_Proxy_HTTP"
464 | },
465 | {
466 | "trigger": "Requests_Response\tWP Class Name",
467 | "contents": "Requests_Response"
468 | },
469 | {
470 | "trigger": "Requests_Response_Headers\tWP Class Name",
471 | "contents": "Requests_Response_Headers"
472 | },
473 | {
474 | "trigger": "Requests_Session\tWP Class Name",
475 | "contents": "Requests_Session"
476 | },
477 | {
478 | "trigger": "Requests_SSL\tWP Class Name",
479 | "contents": "Requests_SSL"
480 | },
481 | {
482 | "trigger": "Requests_Transport_cURL\tWP Class Name",
483 | "contents": "Requests_Transport_cURL"
484 | },
485 | {
486 | "trigger": "Requests_Transport_fsockopen\tWP Class Name",
487 | "contents": "Requests_Transport_fsockopen"
488 | },
489 | {
490 | "trigger": "Requests_Utility_CaseInsensitiveDictionary\tWP Class Name",
491 | "contents": "Requests_Utility_CaseInsensitiveDictionary"
492 | },
493 | {
494 | "trigger": "Requests_Utility_FilteredIterator\tWP Class Name",
495 | "contents": "Requests_Utility_FilteredIterator"
496 | },
497 | {
498 | "trigger": "SimplePie\tWP Class Name",
499 | "contents": "SimplePie"
500 | },
501 | {
502 | "trigger": "SimplePie_Author\tWP Class Name",
503 | "contents": "SimplePie_Author"
504 | },
505 | {
506 | "trigger": "SimplePie_Cache\tWP Class Name",
507 | "contents": "SimplePie_Cache"
508 | },
509 | {
510 | "trigger": "SimplePie_Cache_DB\tWP Class Name",
511 | "contents": "SimplePie_Cache_DB"
512 | },
513 | {
514 | "trigger": "SimplePie_Cache_File\tWP Class Name",
515 | "contents": "SimplePie_Cache_File"
516 | },
517 | {
518 | "trigger": "SimplePie_Cache_Memcache\tWP Class Name",
519 | "contents": "SimplePie_Cache_Memcache"
520 | },
521 | {
522 | "trigger": "SimplePie_Cache_Memcached\tWP Class Name",
523 | "contents": "SimplePie_Cache_Memcached"
524 | },
525 | {
526 | "trigger": "SimplePie_Cache_MySQL\tWP Class Name",
527 | "contents": "SimplePie_Cache_MySQL"
528 | },
529 | {
530 | "trigger": "SimplePie_Cache_Redis\tWP Class Name",
531 | "contents": "SimplePie_Cache_Redis"
532 | },
533 | {
534 | "trigger": "SimplePie_Caption\tWP Class Name",
535 | "contents": "SimplePie_Caption"
536 | },
537 | {
538 | "trigger": "SimplePie_Category\tWP Class Name",
539 | "contents": "SimplePie_Category"
540 | },
541 | {
542 | "trigger": "SimplePie_Content_Type_Sniffer\tWP Class Name",
543 | "contents": "SimplePie_Content_Type_Sniffer"
544 | },
545 | {
546 | "trigger": "SimplePie_Copyright\tWP Class Name",
547 | "contents": "SimplePie_Copyright"
548 | },
549 | {
550 | "trigger": "SimplePie_Credit\tWP Class Name",
551 | "contents": "SimplePie_Credit"
552 | },
553 | {
554 | "trigger": "SimplePie_Enclosure\tWP Class Name",
555 | "contents": "SimplePie_Enclosure"
556 | },
557 | {
558 | "trigger": "SimplePie_Exception\tWP Class Name",
559 | "contents": "SimplePie_Exception"
560 | },
561 | {
562 | "trigger": "SimplePie_File\tWP Class Name",
563 | "contents": "SimplePie_File"
564 | },
565 | {
566 | "trigger": "SimplePie_gzdecode\tWP Class Name",
567 | "contents": "SimplePie_gzdecode"
568 | },
569 | {
570 | "trigger": "SimplePie_HTTP_Parser\tWP Class Name",
571 | "contents": "SimplePie_HTTP_Parser"
572 | },
573 | {
574 | "trigger": "SimplePie_IRI\tWP Class Name",
575 | "contents": "SimplePie_IRI"
576 | },
577 | {
578 | "trigger": "SimplePie_Item\tWP Class Name",
579 | "contents": "SimplePie_Item"
580 | },
581 | {
582 | "trigger": "SimplePie_Locator\tWP Class Name",
583 | "contents": "SimplePie_Locator"
584 | },
585 | {
586 | "trigger": "SimplePie_Misc\tWP Class Name",
587 | "contents": "SimplePie_Misc"
588 | },
589 | {
590 | "trigger": "SimplePie_Net_IPv6\tWP Class Name",
591 | "contents": "SimplePie_Net_IPv6"
592 | },
593 | {
594 | "trigger": "SimplePie_Parse_Date\tWP Class Name",
595 | "contents": "SimplePie_Parse_Date"
596 | },
597 | {
598 | "trigger": "SimplePie_Parser\tWP Class Name",
599 | "contents": "SimplePie_Parser"
600 | },
601 | {
602 | "trigger": "SimplePie_Rating\tWP Class Name",
603 | "contents": "SimplePie_Rating"
604 | },
605 | {
606 | "trigger": "SimplePie_Registry\tWP Class Name",
607 | "contents": "SimplePie_Registry"
608 | },
609 | {
610 | "trigger": "SimplePie_Restriction\tWP Class Name",
611 | "contents": "SimplePie_Restriction"
612 | },
613 | {
614 | "trigger": "SimplePie_Sanitize\tWP Class Name",
615 | "contents": "SimplePie_Sanitize"
616 | },
617 | {
618 | "trigger": "SimplePie_Source\tWP Class Name",
619 | "contents": "SimplePie_Source"
620 | },
621 | {
622 | "trigger": "SimplePie_XML_Declaration_Parser\tWP Class Name",
623 | "contents": "SimplePie_XML_Declaration_Parser"
624 | },
625 | {
626 | "trigger": "SMTP\tWP Class Name",
627 | "contents": "SMTP"
628 | },
629 | {
630 | "trigger": "Text_Diff\tWP Class Name",
631 | "contents": "Text_Diff"
632 | },
633 | {
634 | "trigger": "Text_Diff_Engine_native\tWP Class Name",
635 | "contents": "Text_Diff_Engine_native"
636 | },
637 | {
638 | "trigger": "Text_Diff_Engine_shell\tWP Class Name",
639 | "contents": "Text_Diff_Engine_shell"
640 | },
641 | {
642 | "trigger": "Text_Diff_Engine_string\tWP Class Name",
643 | "contents": "Text_Diff_Engine_string"
644 | },
645 | {
646 | "trigger": "Text_Diff_Engine_xdiff\tWP Class Name",
647 | "contents": "Text_Diff_Engine_xdiff"
648 | },
649 | {
650 | "trigger": "Text_Diff_Op\tWP Class Name",
651 | "contents": "Text_Diff_Op"
652 | },
653 | {
654 | "trigger": "Text_Diff_Op_add\tWP Class Name",
655 | "contents": "Text_Diff_Op_add"
656 | },
657 | {
658 | "trigger": "Text_Diff_Op_change\tWP Class Name",
659 | "contents": "Text_Diff_Op_change"
660 | },
661 | {
662 | "trigger": "Text_Diff_Op_copy\tWP Class Name",
663 | "contents": "Text_Diff_Op_copy"
664 | },
665 | {
666 | "trigger": "Text_Diff_Op_delete\tWP Class Name",
667 | "contents": "Text_Diff_Op_delete"
668 | },
669 | {
670 | "trigger": "Text_Diff_Renderer\tWP Class Name",
671 | "contents": "Text_Diff_Renderer"
672 | },
673 | {
674 | "trigger": "Text_Diff_Renderer_inline\tWP Class Name",
675 | "contents": "Text_Diff_Renderer_inline"
676 | },
677 | {
678 | "trigger": "Text_MappedDiff\tWP Class Name",
679 | "contents": "Text_MappedDiff"
680 | },
681 | {
682 | "trigger": "Theme_Installer_Skin\tWP Class Name",
683 | "contents": "Theme_Installer_Skin"
684 | },
685 | {
686 | "trigger": "Theme_Upgrader\tWP Class Name",
687 | "contents": "Theme_Upgrader"
688 | },
689 | {
690 | "trigger": "Theme_Upgrader_Skin\tWP Class Name",
691 | "contents": "Theme_Upgrader_Skin"
692 | },
693 | {
694 | "trigger": "Translation_Entry\tWP Class Name",
695 | "contents": "Translation_Entry"
696 | },
697 | {
698 | "trigger": "Translations\tWP Class Name",
699 | "contents": "Translations"
700 | },
701 | {
702 | "trigger": "Walker\tWP Class Name",
703 | "contents": "Walker"
704 | },
705 | {
706 | "trigger": "Walker_Category\tWP Class Name",
707 | "contents": "Walker_Category"
708 | },
709 | {
710 | "trigger": "Walker_Category_Checklist\tWP Class Name",
711 | "contents": "Walker_Category_Checklist"
712 | },
713 | {
714 | "trigger": "Walker_CategoryDropdown\tWP Class Name",
715 | "contents": "Walker_CategoryDropdown"
716 | },
717 | {
718 | "trigger": "Walker_Comment\tWP Class Name",
719 | "contents": "Walker_Comment"
720 | },
721 | {
722 | "trigger": "Walker_Nav_Menu\tWP Class Name",
723 | "contents": "Walker_Nav_Menu"
724 | },
725 | {
726 | "trigger": "Walker_Nav_Menu_Checklist\tWP Class Name",
727 | "contents": "Walker_Nav_Menu_Checklist"
728 | },
729 | {
730 | "trigger": "Walker_Nav_Menu_Edit\tWP Class Name",
731 | "contents": "Walker_Nav_Menu_Edit"
732 | },
733 | {
734 | "trigger": "Walker_Page\tWP Class Name",
735 | "contents": "Walker_Page"
736 | },
737 | {
738 | "trigger": "Walker_PageDropdown\tWP Class Name",
739 | "contents": "Walker_PageDropdown"
740 | },
741 | {
742 | "trigger": "WP\tWP Class Name",
743 | "contents": "WP"
744 | },
745 | {
746 | "trigger": "WP_Admin_Bar\tWP Class Name",
747 | "contents": "WP_Admin_Bar"
748 | },
749 | {
750 | "trigger": "WP_Ajax_Response\tWP Class Name",
751 | "contents": "WP_Ajax_Response"
752 | },
753 | {
754 | "trigger": "WP_Ajax_Upgrader_Skin\tWP Class Name",
755 | "contents": "WP_Ajax_Upgrader_Skin"
756 | },
757 | {
758 | "trigger": "WP_Application_Passwords\tWP Class Name",
759 | "contents": "WP_Application_Passwords"
760 | },
761 | {
762 | "trigger": "WP_Application_Passwords_List_Table\tWP Class Name",
763 | "contents": "WP_Application_Passwords_List_Table"
764 | },
765 | {
766 | "trigger": "WP_Automatic_Updater\tWP Class Name",
767 | "contents": "WP_Automatic_Updater"
768 | },
769 | {
770 | "trigger": "WP_Block\tWP Class Name",
771 | "contents": "WP_Block"
772 | },
773 | {
774 | "trigger": "WP_Block_List\tWP Class Name",
775 | "contents": "WP_Block_List"
776 | },
777 | {
778 | "trigger": "WP_Block_Parser\tWP Class Name",
779 | "contents": "WP_Block_Parser"
780 | },
781 | {
782 | "trigger": "WP_Block_Parser_Block\tWP Class Name",
783 | "contents": "WP_Block_Parser_Block"
784 | },
785 | {
786 | "trigger": "WP_Block_Parser_Frame\tWP Class Name",
787 | "contents": "WP_Block_Parser_Frame"
788 | },
789 | {
790 | "trigger": "WP_Block_Pattern_Categories_Registry\tWP Class Name",
791 | "contents": "WP_Block_Pattern_Categories_Registry"
792 | },
793 | {
794 | "trigger": "WP_Block_Patterns_Registry\tWP Class Name",
795 | "contents": "WP_Block_Patterns_Registry"
796 | },
797 | {
798 | "trigger": "WP_Block_Styles_Registry\tWP Class Name",
799 | "contents": "WP_Block_Styles_Registry"
800 | },
801 | {
802 | "trigger": "WP_Block_Supports\tWP Class Name",
803 | "contents": "WP_Block_Supports"
804 | },
805 | {
806 | "trigger": "WP_Block_Type\tWP Class Name",
807 | "contents": "WP_Block_Type"
808 | },
809 | {
810 | "trigger": "WP_Block_Type_Registry\tWP Class Name",
811 | "contents": "WP_Block_Type_Registry"
812 | },
813 | {
814 | "trigger": "WP_Comment\tWP Class Name",
815 | "contents": "WP_Comment"
816 | },
817 | {
818 | "trigger": "WP_Comment_Query\tWP Class Name",
819 | "contents": "WP_Comment_Query"
820 | },
821 | {
822 | "trigger": "WP_Comments_List_Table\tWP Class Name",
823 | "contents": "WP_Comments_List_Table"
824 | },
825 | {
826 | "trigger": "WP_Community_Events\tWP Class Name",
827 | "contents": "WP_Community_Events"
828 | },
829 | {
830 | "trigger": "WP_Customize_Background_Image_Control\tWP Class Name",
831 | "contents": "WP_Customize_Background_Image_Control"
832 | },
833 | {
834 | "trigger": "WP_Customize_Background_Image_Setting\tWP Class Name",
835 | "contents": "WP_Customize_Background_Image_Setting"
836 | },
837 | {
838 | "trigger": "WP_Customize_Background_Position_Control\tWP Class Name",
839 | "contents": "WP_Customize_Background_Position_Control"
840 | },
841 | {
842 | "trigger": "WP_Customize_Code_Editor_Control\tWP Class Name",
843 | "contents": "WP_Customize_Code_Editor_Control"
844 | },
845 | {
846 | "trigger": "WP_Customize_Color_Control\tWP Class Name",
847 | "contents": "WP_Customize_Color_Control"
848 | },
849 | {
850 | "trigger": "WP_Customize_Control\tWP Class Name",
851 | "contents": "WP_Customize_Control"
852 | },
853 | {
854 | "trigger": "WP_Customize_Cropped_Image_Control\tWP Class Name",
855 | "contents": "WP_Customize_Cropped_Image_Control"
856 | },
857 | {
858 | "trigger": "WP_Customize_Custom_CSS_Setting\tWP Class Name",
859 | "contents": "WP_Customize_Custom_CSS_Setting"
860 | },
861 | {
862 | "trigger": "WP_Customize_Date_Time_Control\tWP Class Name",
863 | "contents": "WP_Customize_Date_Time_Control"
864 | },
865 | {
866 | "trigger": "WP_Customize_Filter_Setting\tWP Class Name",
867 | "contents": "WP_Customize_Filter_Setting"
868 | },
869 | {
870 | "trigger": "WP_Customize_Header_Image_Control\tWP Class Name",
871 | "contents": "WP_Customize_Header_Image_Control"
872 | },
873 | {
874 | "trigger": "WP_Customize_Header_Image_Setting\tWP Class Name",
875 | "contents": "WP_Customize_Header_Image_Setting"
876 | },
877 | {
878 | "trigger": "WP_Customize_Image_Control\tWP Class Name",
879 | "contents": "WP_Customize_Image_Control"
880 | },
881 | {
882 | "trigger": "WP_Customize_Manager\tWP Class Name",
883 | "contents": "WP_Customize_Manager"
884 | },
885 | {
886 | "trigger": "WP_Customize_Media_Control\tWP Class Name",
887 | "contents": "WP_Customize_Media_Control"
888 | },
889 | {
890 | "trigger": "WP_Customize_Nav_Menu_Auto_Add_Control\tWP Class Name",
891 | "contents": "WP_Customize_Nav_Menu_Auto_Add_Control"
892 | },
893 | {
894 | "trigger": "WP_Customize_Nav_Menu_Control\tWP Class Name",
895 | "contents": "WP_Customize_Nav_Menu_Control"
896 | },
897 | {
898 | "trigger": "WP_Customize_Nav_Menu_Item_Control\tWP Class Name",
899 | "contents": "WP_Customize_Nav_Menu_Item_Control"
900 | },
901 | {
902 | "trigger": "WP_Customize_Nav_Menu_Item_Setting\tWP Class Name",
903 | "contents": "WP_Customize_Nav_Menu_Item_Setting"
904 | },
905 | {
906 | "trigger": "WP_Customize_Nav_Menu_Location_Control\tWP Class Name",
907 | "contents": "WP_Customize_Nav_Menu_Location_Control"
908 | },
909 | {
910 | "trigger": "WP_Customize_Nav_Menu_Locations_Control\tWP Class Name",
911 | "contents": "WP_Customize_Nav_Menu_Locations_Control"
912 | },
913 | {
914 | "trigger": "WP_Customize_Nav_Menu_Name_Control\tWP Class Name",
915 | "contents": "WP_Customize_Nav_Menu_Name_Control"
916 | },
917 | {
918 | "trigger": "WP_Customize_Nav_Menu_Section\tWP Class Name",
919 | "contents": "WP_Customize_Nav_Menu_Section"
920 | },
921 | {
922 | "trigger": "WP_Customize_Nav_Menu_Setting\tWP Class Name",
923 | "contents": "WP_Customize_Nav_Menu_Setting"
924 | },
925 | {
926 | "trigger": "WP_Customize_Nav_Menus\tWP Class Name",
927 | "contents": "WP_Customize_Nav_Menus"
928 | },
929 | {
930 | "trigger": "WP_Customize_Nav_Menus_Panel\tWP Class Name",
931 | "contents": "WP_Customize_Nav_Menus_Panel"
932 | },
933 | {
934 | "trigger": "WP_Customize_Panel\tWP Class Name",
935 | "contents": "WP_Customize_Panel"
936 | },
937 | {
938 | "trigger": "WP_Customize_Partial\tWP Class Name",
939 | "contents": "WP_Customize_Partial"
940 | },
941 | {
942 | "trigger": "WP_Customize_Section\tWP Class Name",
943 | "contents": "WP_Customize_Section"
944 | },
945 | {
946 | "trigger": "WP_Customize_Selective_Refresh\tWP Class Name",
947 | "contents": "WP_Customize_Selective_Refresh"
948 | },
949 | {
950 | "trigger": "WP_Customize_Setting\tWP Class Name",
951 | "contents": "WP_Customize_Setting"
952 | },
953 | {
954 | "trigger": "WP_Customize_Sidebar_Section\tWP Class Name",
955 | "contents": "WP_Customize_Sidebar_Section"
956 | },
957 | {
958 | "trigger": "WP_Customize_Site_Icon_Control\tWP Class Name",
959 | "contents": "WP_Customize_Site_Icon_Control"
960 | },
961 | {
962 | "trigger": "WP_Customize_Theme_Control\tWP Class Name",
963 | "contents": "WP_Customize_Theme_Control"
964 | },
965 | {
966 | "trigger": "WP_Customize_Themes_Panel\tWP Class Name",
967 | "contents": "WP_Customize_Themes_Panel"
968 | },
969 | {
970 | "trigger": "WP_Customize_Themes_Section\tWP Class Name",
971 | "contents": "WP_Customize_Themes_Section"
972 | },
973 | {
974 | "trigger": "WP_Customize_Upload_Control\tWP Class Name",
975 | "contents": "WP_Customize_Upload_Control"
976 | },
977 | {
978 | "trigger": "WP_Customize_Widgets\tWP Class Name",
979 | "contents": "WP_Customize_Widgets"
980 | },
981 | {
982 | "trigger": "WP_Date_Query\tWP Class Name",
983 | "contents": "WP_Date_Query"
984 | },
985 | {
986 | "trigger": "WP_Debug_Data\tWP Class Name",
987 | "contents": "WP_Debug_Data"
988 | },
989 | {
990 | "trigger": "WP_Dependencies\tWP Class Name",
991 | "contents": "WP_Dependencies"
992 | },
993 | {
994 | "trigger": "WP_Embed\tWP Class Name",
995 | "contents": "WP_Embed"
996 | },
997 | {
998 | "trigger": "WP_Error\tWP Class Name",
999 | "contents": "WP_Error"
1000 | },
1001 | {
1002 | "trigger": "WP_Fatal_Error_Handler\tWP Class Name",
1003 | "contents": "WP_Fatal_Error_Handler"
1004 | },
1005 | {
1006 | "trigger": "WP_Feed_Cache_Transient\tWP Class Name",
1007 | "contents": "WP_Feed_Cache_Transient"
1008 | },
1009 | {
1010 | "trigger": "WP_Filesystem_Base\tWP Class Name",
1011 | "contents": "WP_Filesystem_Base"
1012 | },
1013 | {
1014 | "trigger": "WP_Filesystem_Direct\tWP Class Name",
1015 | "contents": "WP_Filesystem_Direct"
1016 | },
1017 | {
1018 | "trigger": "WP_Filesystem_FTPext\tWP Class Name",
1019 | "contents": "WP_Filesystem_FTPext"
1020 | },
1021 | {
1022 | "trigger": "WP_Filesystem_ftpsockets\tWP Class Name",
1023 | "contents": "WP_Filesystem_ftpsockets"
1024 | },
1025 | {
1026 | "trigger": "WP_Filesystem_SSH2\tWP Class Name",
1027 | "contents": "WP_Filesystem_SSH2"
1028 | },
1029 | {
1030 | "trigger": "WP_Hook\tWP Class Name",
1031 | "contents": "WP_Hook"
1032 | },
1033 | {
1034 | "trigger": "WP_Http\tWP Class Name",
1035 | "contents": "WP_Http"
1036 | },
1037 | {
1038 | "trigger": "WP_Http_Cookie\tWP Class Name",
1039 | "contents": "WP_Http_Cookie"
1040 | },
1041 | {
1042 | "trigger": "WP_Http_Curl\tWP Class Name",
1043 | "contents": "WP_Http_Curl"
1044 | },
1045 | {
1046 | "trigger": "WP_Http_Encoding\tWP Class Name",
1047 | "contents": "WP_Http_Encoding"
1048 | },
1049 | {
1050 | "trigger": "WP_HTTP_IXR_Client\tWP Class Name",
1051 | "contents": "WP_HTTP_IXR_Client"
1052 | },
1053 | {
1054 | "trigger": "WP_HTTP_Proxy\tWP Class Name",
1055 | "contents": "WP_HTTP_Proxy"
1056 | },
1057 | {
1058 | "trigger": "WP_HTTP_Requests_Hooks\tWP Class Name",
1059 | "contents": "WP_HTTP_Requests_Hooks"
1060 | },
1061 | {
1062 | "trigger": "WP_HTTP_Requests_Response\tWP Class Name",
1063 | "contents": "WP_HTTP_Requests_Response"
1064 | },
1065 | {
1066 | "trigger": "WP_HTTP_Response\tWP Class Name",
1067 | "contents": "WP_HTTP_Response"
1068 | },
1069 | {
1070 | "trigger": "WP_Http_Streams\tWP Class Name",
1071 | "contents": "WP_Http_Streams"
1072 | },
1073 | {
1074 | "trigger": "WP_Image_Editor\tWP Class Name",
1075 | "contents": "WP_Image_Editor"
1076 | },
1077 | {
1078 | "trigger": "WP_Image_Editor_GD\tWP Class Name",
1079 | "contents": "WP_Image_Editor_GD"
1080 | },
1081 | {
1082 | "trigger": "WP_Image_Editor_Imagick\tWP Class Name",
1083 | "contents": "WP_Image_Editor_Imagick"
1084 | },
1085 | {
1086 | "trigger": "WP_Importer\tWP Class Name",
1087 | "contents": "WP_Importer"
1088 | },
1089 | {
1090 | "trigger": "WP_Internal_Pointers\tWP Class Name",
1091 | "contents": "WP_Internal_Pointers"
1092 | },
1093 | {
1094 | "trigger": "WP_Links_List_Table\tWP Class Name",
1095 | "contents": "WP_Links_List_Table"
1096 | },
1097 | {
1098 | "trigger": "WP_List_Table\tWP Class Name",
1099 | "contents": "WP_List_Table"
1100 | },
1101 | {
1102 | "trigger": "WP_List_Util\tWP Class Name",
1103 | "contents": "WP_List_Util"
1104 | },
1105 | {
1106 | "trigger": "WP_Locale\tWP Class Name",
1107 | "contents": "WP_Locale"
1108 | },
1109 | {
1110 | "trigger": "WP_Locale_Switcher\tWP Class Name",
1111 | "contents": "WP_Locale_Switcher"
1112 | },
1113 | {
1114 | "trigger": "WP_MatchesMapRegex\tWP Class Name",
1115 | "contents": "WP_MatchesMapRegex"
1116 | },
1117 | {
1118 | "trigger": "WP_Media_List_Table\tWP Class Name",
1119 | "contents": "WP_Media_List_Table"
1120 | },
1121 | {
1122 | "trigger": "WP_Meta_Query\tWP Class Name",
1123 | "contents": "WP_Meta_Query"
1124 | },
1125 | {
1126 | "trigger": "WP_Metadata_Lazyloader\tWP Class Name",
1127 | "contents": "WP_Metadata_Lazyloader"
1128 | },
1129 | {
1130 | "trigger": "WP_MS_Sites_List_Table\tWP Class Name",
1131 | "contents": "WP_MS_Sites_List_Table"
1132 | },
1133 | {
1134 | "trigger": "WP_MS_Themes_List_Table\tWP Class Name",
1135 | "contents": "WP_MS_Themes_List_Table"
1136 | },
1137 | {
1138 | "trigger": "WP_MS_Users_List_Table\tWP Class Name",
1139 | "contents": "WP_MS_Users_List_Table"
1140 | },
1141 | {
1142 | "trigger": "WP_Nav_Menu_Widget\tWP Class Name",
1143 | "contents": "WP_Nav_Menu_Widget"
1144 | },
1145 | {
1146 | "trigger": "WP_Network\tWP Class Name",
1147 | "contents": "WP_Network"
1148 | },
1149 | {
1150 | "trigger": "WP_Network_Query\tWP Class Name",
1151 | "contents": "WP_Network_Query"
1152 | },
1153 | {
1154 | "trigger": "WP_Object_Cache\tWP Class Name",
1155 | "contents": "WP_Object_Cache"
1156 | },
1157 | {
1158 | "trigger": "WP_oEmbed\tWP Class Name",
1159 | "contents": "WP_oEmbed"
1160 | },
1161 | {
1162 | "trigger": "WP_oEmbed_Controller\tWP Class Name",
1163 | "contents": "WP_oEmbed_Controller"
1164 | },
1165 | {
1166 | "trigger": "WP_Paused_Extensions_Storage\tWP Class Name",
1167 | "contents": "WP_Paused_Extensions_Storage"
1168 | },
1169 | {
1170 | "trigger": "WP_Plugin_Install_List_Table\tWP Class Name",
1171 | "contents": "WP_Plugin_Install_List_Table"
1172 | },
1173 | {
1174 | "trigger": "WP_Plugins_List_Table\tWP Class Name",
1175 | "contents": "WP_Plugins_List_Table"
1176 | },
1177 | {
1178 | "trigger": "WP_Post\tWP Class Name",
1179 | "contents": "WP_Post"
1180 | },
1181 | {
1182 | "trigger": "WP_Post_Comments_List_Table\tWP Class Name",
1183 | "contents": "WP_Post_Comments_List_Table"
1184 | },
1185 | {
1186 | "trigger": "WP_Post_Type\tWP Class Name",
1187 | "contents": "WP_Post_Type"
1188 | },
1189 | {
1190 | "trigger": "WP_Posts_List_Table\tWP Class Name",
1191 | "contents": "WP_Posts_List_Table"
1192 | },
1193 | {
1194 | "trigger": "WP_Privacy_Data_Export_Requests_List_Table\tWP Class Name",
1195 | "contents": "WP_Privacy_Data_Export_Requests_List_Table"
1196 | },
1197 | {
1198 | "trigger": "WP_Privacy_Data_Removal_Requests_List_Table\tWP Class Name",
1199 | "contents": "WP_Privacy_Data_Removal_Requests_List_Table"
1200 | },
1201 | {
1202 | "trigger": "WP_Privacy_Policy_Content\tWP Class Name",
1203 | "contents": "WP_Privacy_Policy_Content"
1204 | },
1205 | {
1206 | "trigger": "WP_Privacy_Requests_Table\tWP Class Name",
1207 | "contents": "WP_Privacy_Requests_Table"
1208 | },
1209 | {
1210 | "trigger": "WP_Query\tWP Class Name",
1211 | "contents": "WP_Query"
1212 | },
1213 | {
1214 | "trigger": "WP_Recovery_Mode\tWP Class Name",
1215 | "contents": "WP_Recovery_Mode"
1216 | },
1217 | {
1218 | "trigger": "WP_Recovery_Mode_Cookie_Service\tWP Class Name",
1219 | "contents": "WP_Recovery_Mode_Cookie_Service"
1220 | },
1221 | {
1222 | "trigger": "WP_Recovery_Mode_Email_Service\tWP Class Name",
1223 | "contents": "WP_Recovery_Mode_Email_Service"
1224 | },
1225 | {
1226 | "trigger": "WP_Recovery_Mode_Key_Service\tWP Class Name",
1227 | "contents": "WP_Recovery_Mode_Key_Service"
1228 | },
1229 | {
1230 | "trigger": "WP_Recovery_Mode_Link_Service\tWP Class Name",
1231 | "contents": "WP_Recovery_Mode_Link_Service"
1232 | },
1233 | {
1234 | "trigger": "WP_REST_Application_Passwords_Controller\tWP Class Name",
1235 | "contents": "WP_REST_Application_Passwords_Controller"
1236 | },
1237 | {
1238 | "trigger": "WP_REST_Attachments_Controller\tWP Class Name",
1239 | "contents": "WP_REST_Attachments_Controller"
1240 | },
1241 | {
1242 | "trigger": "WP_REST_Autosaves_Controller\tWP Class Name",
1243 | "contents": "WP_REST_Autosaves_Controller"
1244 | },
1245 | {
1246 | "trigger": "WP_REST_Block_Directory_Controller\tWP Class Name",
1247 | "contents": "WP_REST_Block_Directory_Controller"
1248 | },
1249 | {
1250 | "trigger": "WP_REST_Block_Renderer_Controller\tWP Class Name",
1251 | "contents": "WP_REST_Block_Renderer_Controller"
1252 | },
1253 | {
1254 | "trigger": "WP_REST_Block_Types_Controller\tWP Class Name",
1255 | "contents": "WP_REST_Block_Types_Controller"
1256 | },
1257 | {
1258 | "trigger": "WP_REST_Blocks_Controller\tWP Class Name",
1259 | "contents": "WP_REST_Blocks_Controller"
1260 | },
1261 | {
1262 | "trigger": "WP_REST_Comment_Meta_Fields\tWP Class Name",
1263 | "contents": "WP_REST_Comment_Meta_Fields"
1264 | },
1265 | {
1266 | "trigger": "WP_REST_Comments_Controller\tWP Class Name",
1267 | "contents": "WP_REST_Comments_Controller"
1268 | },
1269 | {
1270 | "trigger": "WP_REST_Controller\tWP Class Name",
1271 | "contents": "WP_REST_Controller"
1272 | },
1273 | {
1274 | "trigger": "WP_REST_Meta_Fields\tWP Class Name",
1275 | "contents": "WP_REST_Meta_Fields"
1276 | },
1277 | {
1278 | "trigger": "WP_REST_Plugins_Controller\tWP Class Name",
1279 | "contents": "WP_REST_Plugins_Controller"
1280 | },
1281 | {
1282 | "trigger": "WP_REST_Post_Format_Search_Handler\tWP Class Name",
1283 | "contents": "WP_REST_Post_Format_Search_Handler"
1284 | },
1285 | {
1286 | "trigger": "WP_REST_Post_Meta_Fields\tWP Class Name",
1287 | "contents": "WP_REST_Post_Meta_Fields"
1288 | },
1289 | {
1290 | "trigger": "WP_REST_Post_Search_Handler\tWP Class Name",
1291 | "contents": "WP_REST_Post_Search_Handler"
1292 | },
1293 | {
1294 | "trigger": "WP_REST_Post_Statuses_Controller\tWP Class Name",
1295 | "contents": "WP_REST_Post_Statuses_Controller"
1296 | },
1297 | {
1298 | "trigger": "WP_REST_Post_Types_Controller\tWP Class Name",
1299 | "contents": "WP_REST_Post_Types_Controller"
1300 | },
1301 | {
1302 | "trigger": "WP_REST_Posts_Controller\tWP Class Name",
1303 | "contents": "WP_REST_Posts_Controller"
1304 | },
1305 | {
1306 | "trigger": "WP_REST_Request\tWP Class Name",
1307 | "contents": "WP_REST_Request"
1308 | },
1309 | {
1310 | "trigger": "WP_REST_Response\tWP Class Name",
1311 | "contents": "WP_REST_Response"
1312 | },
1313 | {
1314 | "trigger": "WP_REST_Revisions_Controller\tWP Class Name",
1315 | "contents": "WP_REST_Revisions_Controller"
1316 | },
1317 | {
1318 | "trigger": "WP_REST_Search_Controller\tWP Class Name",
1319 | "contents": "WP_REST_Search_Controller"
1320 | },
1321 | {
1322 | "trigger": "WP_REST_Search_Handler\tWP Class Name",
1323 | "contents": "WP_REST_Search_Handler"
1324 | },
1325 | {
1326 | "trigger": "WP_REST_Server\tWP Class Name",
1327 | "contents": "WP_REST_Server"
1328 | },
1329 | {
1330 | "trigger": "WP_REST_Settings_Controller\tWP Class Name",
1331 | "contents": "WP_REST_Settings_Controller"
1332 | },
1333 | {
1334 | "trigger": "WP_REST_Site_Health_Controller\tWP Class Name",
1335 | "contents": "WP_REST_Site_Health_Controller"
1336 | },
1337 | {
1338 | "trigger": "WP_REST_Taxonomies_Controller\tWP Class Name",
1339 | "contents": "WP_REST_Taxonomies_Controller"
1340 | },
1341 | {
1342 | "trigger": "WP_REST_Term_Meta_Fields\tWP Class Name",
1343 | "contents": "WP_REST_Term_Meta_Fields"
1344 | },
1345 | {
1346 | "trigger": "WP_REST_Term_Search_Handler\tWP Class Name",
1347 | "contents": "WP_REST_Term_Search_Handler"
1348 | },
1349 | {
1350 | "trigger": "WP_REST_Terms_Controller\tWP Class Name",
1351 | "contents": "WP_REST_Terms_Controller"
1352 | },
1353 | {
1354 | "trigger": "WP_REST_Themes_Controller\tWP Class Name",
1355 | "contents": "WP_REST_Themes_Controller"
1356 | },
1357 | {
1358 | "trigger": "WP_REST_User_Meta_Fields\tWP Class Name",
1359 | "contents": "WP_REST_User_Meta_Fields"
1360 | },
1361 | {
1362 | "trigger": "WP_REST_Users_Controller\tWP Class Name",
1363 | "contents": "WP_REST_Users_Controller"
1364 | },
1365 | {
1366 | "trigger": "WP_Rewrite\tWP Class Name",
1367 | "contents": "WP_Rewrite"
1368 | },
1369 | {
1370 | "trigger": "WP_Role\tWP Class Name",
1371 | "contents": "WP_Role"
1372 | },
1373 | {
1374 | "trigger": "WP_Roles\tWP Class Name",
1375 | "contents": "WP_Roles"
1376 | },
1377 | {
1378 | "trigger": "WP_Screen\tWP Class Name",
1379 | "contents": "WP_Screen"
1380 | },
1381 | {
1382 | "trigger": "WP_Scripts\tWP Class Name",
1383 | "contents": "WP_Scripts"
1384 | },
1385 | {
1386 | "trigger": "WP_Session_Tokens\tWP Class Name",
1387 | "contents": "WP_Session_Tokens"
1388 | },
1389 | {
1390 | "trigger": "WP_SimplePie_File\tWP Class Name",
1391 | "contents": "WP_SimplePie_File"
1392 | },
1393 | {
1394 | "trigger": "WP_SimplePie_Sanitize_KSES\tWP Class Name",
1395 | "contents": "WP_SimplePie_Sanitize_KSES"
1396 | },
1397 | {
1398 | "trigger": "WP_Site\tWP Class Name",
1399 | "contents": "WP_Site"
1400 | },
1401 | {
1402 | "trigger": "WP_Site_Health\tWP Class Name",
1403 | "contents": "WP_Site_Health"
1404 | },
1405 | {
1406 | "trigger": "WP_Site_Health_Auto_Updates\tWP Class Name",
1407 | "contents": "WP_Site_Health_Auto_Updates"
1408 | },
1409 | {
1410 | "trigger": "WP_Site_Icon\tWP Class Name",
1411 | "contents": "WP_Site_Icon"
1412 | },
1413 | {
1414 | "trigger": "WP_Site_Query\tWP Class Name",
1415 | "contents": "WP_Site_Query"
1416 | },
1417 | {
1418 | "trigger": "WP_Sitemaps\tWP Class Name",
1419 | "contents": "WP_Sitemaps"
1420 | },
1421 | {
1422 | "trigger": "WP_Sitemaps_Index\tWP Class Name",
1423 | "contents": "WP_Sitemaps_Index"
1424 | },
1425 | {
1426 | "trigger": "WP_Sitemaps_Posts\tWP Class Name",
1427 | "contents": "WP_Sitemaps_Posts"
1428 | },
1429 | {
1430 | "trigger": "WP_Sitemaps_Provider\tWP Class Name",
1431 | "contents": "WP_Sitemaps_Provider"
1432 | },
1433 | {
1434 | "trigger": "WP_Sitemaps_Registry\tWP Class Name",
1435 | "contents": "WP_Sitemaps_Registry"
1436 | },
1437 | {
1438 | "trigger": "WP_Sitemaps_Renderer\tWP Class Name",
1439 | "contents": "WP_Sitemaps_Renderer"
1440 | },
1441 | {
1442 | "trigger": "WP_Sitemaps_Stylesheet\tWP Class Name",
1443 | "contents": "WP_Sitemaps_Stylesheet"
1444 | },
1445 | {
1446 | "trigger": "WP_Sitemaps_Taxonomies\tWP Class Name",
1447 | "contents": "WP_Sitemaps_Taxonomies"
1448 | },
1449 | {
1450 | "trigger": "WP_Sitemaps_Users\tWP Class Name",
1451 | "contents": "WP_Sitemaps_Users"
1452 | },
1453 | {
1454 | "trigger": "WP_Styles\tWP Class Name",
1455 | "contents": "WP_Styles"
1456 | },
1457 | {
1458 | "trigger": "WP_Tax_Query\tWP Class Name",
1459 | "contents": "WP_Tax_Query"
1460 | },
1461 | {
1462 | "trigger": "WP_Taxonomy\tWP Class Name",
1463 | "contents": "WP_Taxonomy"
1464 | },
1465 | {
1466 | "trigger": "WP_Term\tWP Class Name",
1467 | "contents": "WP_Term"
1468 | },
1469 | {
1470 | "trigger": "WP_Term_Query\tWP Class Name",
1471 | "contents": "WP_Term_Query"
1472 | },
1473 | {
1474 | "trigger": "WP_Terms_List_Table\tWP Class Name",
1475 | "contents": "WP_Terms_List_Table"
1476 | },
1477 | {
1478 | "trigger": "WP_Text_Diff_Renderer_inline\tWP Class Name",
1479 | "contents": "WP_Text_Diff_Renderer_inline"
1480 | },
1481 | {
1482 | "trigger": "WP_Text_Diff_Renderer_Table\tWP Class Name",
1483 | "contents": "WP_Text_Diff_Renderer_Table"
1484 | },
1485 | {
1486 | "trigger": "WP_Theme\tWP Class Name",
1487 | "contents": "WP_Theme"
1488 | },
1489 | {
1490 | "trigger": "WP_Theme_Install_List_Table\tWP Class Name",
1491 | "contents": "WP_Theme_Install_List_Table"
1492 | },
1493 | {
1494 | "trigger": "WP_Themes_List_Table\tWP Class Name",
1495 | "contents": "WP_Themes_List_Table"
1496 | },
1497 | {
1498 | "trigger": "WP_Upgrader\tWP Class Name",
1499 | "contents": "WP_Upgrader"
1500 | },
1501 | {
1502 | "trigger": "WP_Upgrader_Skin\tWP Class Name",
1503 | "contents": "WP_Upgrader_Skin"
1504 | },
1505 | {
1506 | "trigger": "WP_User\tWP Class Name",
1507 | "contents": "WP_User"
1508 | },
1509 | {
1510 | "trigger": "WP_User_Meta_Session_Tokens\tWP Class Name",
1511 | "contents": "WP_User_Meta_Session_Tokens"
1512 | },
1513 | {
1514 | "trigger": "WP_User_Query\tWP Class Name",
1515 | "contents": "WP_User_Query"
1516 | },
1517 | {
1518 | "trigger": "WP_User_Request\tWP Class Name",
1519 | "contents": "WP_User_Request"
1520 | },
1521 | {
1522 | "trigger": "WP_Users_List_Table\tWP Class Name",
1523 | "contents": "WP_Users_List_Table"
1524 | },
1525 | {
1526 | "trigger": "WP_Widget\tWP Class Name",
1527 | "contents": "WP_Widget"
1528 | },
1529 | {
1530 | "trigger": "WP_Widget_Archives\tWP Class Name",
1531 | "contents": "WP_Widget_Archives"
1532 | },
1533 | {
1534 | "trigger": "WP_Widget_Area_Customize_Control\tWP Class Name",
1535 | "contents": "WP_Widget_Area_Customize_Control"
1536 | },
1537 | {
1538 | "trigger": "WP_Widget_Calendar\tWP Class Name",
1539 | "contents": "WP_Widget_Calendar"
1540 | },
1541 | {
1542 | "trigger": "WP_Widget_Categories\tWP Class Name",
1543 | "contents": "WP_Widget_Categories"
1544 | },
1545 | {
1546 | "trigger": "WP_Widget_Custom_HTML\tWP Class Name",
1547 | "contents": "WP_Widget_Custom_HTML"
1548 | },
1549 | {
1550 | "trigger": "WP_Widget_Factory\tWP Class Name",
1551 | "contents": "WP_Widget_Factory"
1552 | },
1553 | {
1554 | "trigger": "WP_Widget_Form_Customize_Control\tWP Class Name",
1555 | "contents": "WP_Widget_Form_Customize_Control"
1556 | },
1557 | {
1558 | "trigger": "WP_Widget_Links\tWP Class Name",
1559 | "contents": "WP_Widget_Links"
1560 | },
1561 | {
1562 | "trigger": "WP_Widget_Media\tWP Class Name",
1563 | "contents": "WP_Widget_Media"
1564 | },
1565 | {
1566 | "trigger": "WP_Widget_Media_Audio\tWP Class Name",
1567 | "contents": "WP_Widget_Media_Audio"
1568 | },
1569 | {
1570 | "trigger": "WP_Widget_Media_Gallery\tWP Class Name",
1571 | "contents": "WP_Widget_Media_Gallery"
1572 | },
1573 | {
1574 | "trigger": "WP_Widget_Media_Image\tWP Class Name",
1575 | "contents": "WP_Widget_Media_Image"
1576 | },
1577 | {
1578 | "trigger": "WP_Widget_Media_Video\tWP Class Name",
1579 | "contents": "WP_Widget_Media_Video"
1580 | },
1581 | {
1582 | "trigger": "WP_Widget_Meta\tWP Class Name",
1583 | "contents": "WP_Widget_Meta"
1584 | },
1585 | {
1586 | "trigger": "WP_Widget_Pages\tWP Class Name",
1587 | "contents": "WP_Widget_Pages"
1588 | },
1589 | {
1590 | "trigger": "WP_Widget_Recent_Comments\tWP Class Name",
1591 | "contents": "WP_Widget_Recent_Comments"
1592 | },
1593 | {
1594 | "trigger": "WP_Widget_Recent_Posts\tWP Class Name",
1595 | "contents": "WP_Widget_Recent_Posts"
1596 | },
1597 | {
1598 | "trigger": "WP_Widget_RSS\tWP Class Name",
1599 | "contents": "WP_Widget_RSS"
1600 | },
1601 | {
1602 | "trigger": "WP_Widget_Search\tWP Class Name",
1603 | "contents": "WP_Widget_Search"
1604 | },
1605 | {
1606 | "trigger": "WP_Widget_Tag_Cloud\tWP Class Name",
1607 | "contents": "WP_Widget_Tag_Cloud"
1608 | },
1609 | {
1610 | "trigger": "WP_Widget_Text\tWP Class Name",
1611 | "contents": "WP_Widget_Text"
1612 | },
1613 | {
1614 | "trigger": "wp_xmlrpc_server\tWP Class Name",
1615 | "contents": "wp_xmlrpc_server"
1616 | },
1617 | {
1618 | "trigger": "wpdb\tWP Class Name",
1619 | "contents": "${1:global \\$}wpdb;"
1620 | }
1621 | ]
1622 | }
--------------------------------------------------------------------------------
/messages.json:
--------------------------------------------------------------------------------
1 | {
2 | "install": "messages/install.txt",
3 | "4.6.1+1.0": "messages/changelog.txt",
4 | "4.6.1+1.1": "messages/changelog.txt",
5 | "4.6.1+1.2": "messages/changelog.txt",
6 | "4.6.1+1.2.1": "messages/changelog.txt",
7 | "4.6.1+1.2.2": "messages/changelog.txt",
8 | "4.6.1+1.2.3": "messages/changelog.txt",
9 | "4.7.0+1.0": "messages/changelog.txt",
10 | "4.7.2+1.0": "messages/changelog.txt",
11 | "4.7.2+1.0.1": "messages/changelog.txt",
12 | "4.7.3+1.0": "messages/changelog.txt",
13 | "4.7.4+1.0": "messages/changelog.txt",
14 | "4.8.0+1.0": "messages/changelog.txt",
15 | "4.8.0+1.1": "messages/changelog.txt",
16 | "4.8.1+1.0": "messages/changelog.txt",
17 | "4.9.0+1.0": "messages/changelog.txt",
18 | "4.9.0+1.1": "messages/changelog.txt",
19 | "4.9.1+1.0": "messages/changelog.txt",
20 | "4.9.2+1.0": "messages/changelog.txt",
21 | "4.9.4+1.0": "messages/changelog.txt",
22 | "4.9.6+1.0": "messages/changelog.txt",
23 | "4.9.7+1.0": "messages/changelog.txt",
24 | "4.9.8+1.0": "messages/changelog.txt",
25 | "4.9.8+1.1": "messages/changelog.txt",
26 | "4.9.8+1.2": "messages/changelog.txt",
27 | "4.9.8+1.2.1": "messages/changelog.txt",
28 | "5.0.0+1.0": "messages/changelog.txt",
29 | "5.0.1+1.0": "messages/changelog.txt",
30 | "5.0.3+1.0": "messages/changelog.txt",
31 | "5.1.0+1.0": "messages/changelog.txt",
32 | "5.1.1+1.0": "messages/changelog.txt",
33 | "5.2.0+1.0": "messages/changelog.txt",
34 | "5.2.0+1.1": "messages/changelog.txt",
35 | "5.2.1+1.0": "messages/changelog.txt",
36 | "5.2.2+1.0": "messages/changelog.txt",
37 | "5.3.2+1.0": "messages/changelog.txt",
38 | "5.4.0+1.0": "messages/changelog.txt",
39 | "5.4.0+1.1": "messages/changelog.txt",
40 | "5.4.1+1.0": "messages/changelog.txt",
41 | "5.4.2+1.0": "messages/changelog.txt",
42 | "5.5.1+1.0": "messages/changelog.txt",
43 | "5.5.2+1.0": "messages/changelog.txt",
44 | "5.5.3+1.0": "messages/changelog.txt",
45 | "5.7.0+1.0": "messages/changelog.txt"
46 | }
47 |
--------------------------------------------------------------------------------
/messages/changelog.txt:
--------------------------------------------------------------------------------
1 | ### INFO ###
2 | Package control add the random packages inside of ingored_packages,
3 | please check if not working.
4 | See the issue https://github.com/wbond/package_control/issues/1379
5 |
6 | ### CHANGELOG ###
7 |
8 | Version 5.7.0+1.0 --------------------------------------------------------------
9 |
10 | - WordPress 5.7
11 |
12 | Version 5.5.3+1.0 --------------------------------------------------------------
13 |
14 | - WordPress 5.5.3
15 | - Constants:
16 | - Add missing.
17 | - Capabilities:
18 | - Find, check and add assign_terms name.
19 |
20 | Version 5.5.2+1.0 --------------------------------------------------------------
21 |
22 | - WordPress 5.5.2
23 |
24 | Version 5.5.1+1.0 --------------------------------------------------------------
25 |
26 | - WordPress 5.5.1
27 | - Capabilities:
28 | - Find, check and add all possibles capabilities.
29 |
30 | Version 5.4.2+1.0 --------------------------------------------------------------
31 |
32 | - WordPress 5.4.2
33 |
34 | Version 5.4.1+1.0 --------------------------------------------------------------
35 |
36 | - WordPress 5.4.1
37 |
38 | Version 5.4.0+1.1 --------------------------------------------------------------
39 |
40 | - Constants:
41 | - Remove PHP_INT_MIN because not is WordPress constant.
42 | - Functions:
43 | - Fix add_option completions.
44 |
45 | Version 5.4.0+1.0 --------------------------------------------------------------
46 |
47 | - WordPress 5.4
48 |
49 | Version 5.3.2+1.0 --------------------------------------------------------------
50 |
51 | - WordPress 5.3.2
52 |
53 | Version 5.2.2+1.0 --------------------------------------------------------------
54 |
55 | - WordPress 5.2.2
56 |
57 | Version 5.2.1+1.0 --------------------------------------------------------------
58 |
59 | - WordPress 5.2.1
60 | - Added info when a method may not be public.
61 |
62 | Version 5.2.0+1.1 --------------------------------------------------------------
63 |
64 | - Fix `wp-taxonomy` snippet issue.
65 |
66 | Version 5.2.0+1.0 --------------------------------------------------------------
67 |
68 | - WordPress 5.2
69 |
70 | Version 5.1.1+1.0 --------------------------------------------------------------
71 |
72 | - WordPress 5.1.1
73 |
74 | Version 5.1.0+1.0 --------------------------------------------------------------
75 |
76 | - WordPress 5.1
77 |
78 | Version 5.0.3+1.0 --------------------------------------------------------------
79 |
80 | - WordPress 5.0.3
81 |
82 | Version 5.0.1+1.0 --------------------------------------------------------------
83 |
84 | - WordPress 5.0.1
85 |
86 | Version 5.0.0+1.0 --------------------------------------------------------------
87 |
88 | - WordPress 5.0
89 |
90 | Version 4.9.8+1.2 --------------------------------------------------------------
91 |
92 | - Remove WordPress Coding Standards errors on wp-secure-file.sublime-snippet.
93 | - Change scope:
94 | - wp-secure-file.sublime-snippet for trigger inside PHP open tag 'method_name",
180 | this $wpdb variable not use format snippet
181 |
182 | Version 4.6.1+1.2.3 ------------------------------------------------------------
183 |
184 | - Constants:
185 | - Add other missing WordPress Core Constants.
186 |
187 | Version 4.6.1+1.2.2 ------------------------------------------------------------
188 |
189 | - Update Sublime parser plugin for various issues.
190 | - Functions:
191 | - Fix indexing.
192 | - Fix load_plugin_textdomain and load_theme_textdomain function arguments.
193 | - Fix functions with any argument is "array()" change to
194 | "${number_of_index:array( ${number_of_index:'${number_of_index:}'} )}".
195 |
196 | Example of the post_class function snippet.
197 | Before: "post_class(${1: ${2:array( ${3:} )}${4:, ${5:null}} });"
198 | Now: "post_class(${1: ${2:array( ${3:'${4:}'} )}${5:, ${6:null}} });"
199 |
200 | - Fix functions with argument name is '$deprecated' already
201 | return default value.
202 | - Hooks:
203 | - Add missing because error on sublime parser plugin.
204 |
205 |
206 | Version 4.6.1+1.2.1 ------------------------------------------------------------
207 |
208 | - Classes:
209 | - Fix $ on $wpdb.
210 |
211 | Version 4.6.1+1.1 --------------------------------------------------------------
212 |
213 | - Hooks:
214 | - Restore single name completions.
215 |
216 | Version 4.6.1+1.0 --------------------------------------------------------------
217 |
218 | - Hooks:
219 | - Now priority and accepted arguments they are not optional.
220 | - Functions:
221 | - If it returns any results of the semicolon it is now possible to remove.
222 | - Complete Register Taxonomy snippet.
223 |
--------------------------------------------------------------------------------
/messages/install.txt:
--------------------------------------------------------------------------------
1 | How to use WordPress Completions
2 |
3 | * Use "wp-" for view some completions
4 | * Use "add_action-" for view actions completions
5 | * Use "add_filter-" for view filters completions
6 | * Use functions, constants or classes names, for e.g. plugin_dir... for view completions
7 | * Use "name_of_class-method_name" for view method completions. e.g "WP_Error-add" by default all Classes wrap with sublime format completions
8 | * Use "ctrl+space" or "alt+/" in linux for call completions if tag " Select all parameters
11 | - Each Tab There after --> Selects each individual parameter or block
--------------------------------------------------------------------------------
/snippets/plugin/plugin-class-singleton-with-license.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
82 | WP Template: Plugin Class Singleton with license
83 | wp-plugin-class-singleton-license
84 | embedding.php - comment - string
85 |
86 |
--------------------------------------------------------------------------------
/snippets/plugin/plugin-class-singleton.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
68 | WP Template: Plugin Class Singleton
69 | wp-plugin-class-singleton
70 | embedding.php - comment - string
71 |
72 |
--------------------------------------------------------------------------------
/snippets/plugin/plugin-class-static-with-license.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
74 | WP Template: Plugin Class Static with license
75 | wp-plugin-class-static-license
76 | embedding.php - comment - string
77 |
78 |
--------------------------------------------------------------------------------
/snippets/plugin/plugin-class-static.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
60 | WP Template: Plugin Class Static
61 | wp-plugin-class-static
62 | embedding.php - comment - string
63 |
64 |
--------------------------------------------------------------------------------
/snippets/plugin/plugin-header-with-license.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
34 | WP Template: Plugin Header with license
35 | wp-plugin-header-license
36 | embedding.php - comment - string
37 |
--------------------------------------------------------------------------------
/snippets/plugin/plugin-header.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
20 | WP Template: Plugin Header
21 | wp-plugin-header
22 | embedding.php - comment - string
23 |
--------------------------------------------------------------------------------
/snippets/plugin/plugin-readme.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | Asterisks for *emphasis*. Double it up for **strong**.
66 |
67 | ``}}
68 | ]]>
69 | WP Template: Plugin Readme
70 | wp-plugin-readme
71 | text.plain - source
72 |
73 |
--------------------------------------------------------------------------------
/snippets/plugin/plugin-trait-singleton.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
24 | WP Template: Plugin Trait Singleton
25 | wp-plugin-trait-singleton
26 | embedding.php - comment - string
27 |
28 |
--------------------------------------------------------------------------------
/snippets/post-type/post-type-message.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | labels ) || ! isset( \$post->ID ) )
26 | return \$messages;
27 |
28 | // Generated Post Type Links
29 | \$preview = \$scheduled = \$view = '';
30 | if ( is_post_type_viewable( \$post_type_object ) ) \{
31 | \$permalink = esc_url( get_permalink( \$post->ID ) );
32 | \$preview_url = esc_url( get_preview_post_link( \$post ) );
33 | \$preview_text = esc_html( sprintf( __( 'Preview %s'${4:, '${5:text_domain}'} ), \$post_type_object->labels->singular_name ) );
34 |
35 | // Preview post type link.
36 | \$preview = sprintf( ' %2$s', \$preview_url, \$preview_text );
37 |
38 | // Scheduled post type preview link.
39 | \$scheduled = sprintf( ' %2$s', \$permalink, \$preview_text );
40 |
41 | // View post post link.
42 | \$view = sprintf( ' %2$s', \$permalink, \$post_type_object->labels->view_item );
43 | \}
44 |
45 | // translators: Publish box date format, see http://php.net/date
46 | \$scheduled_date = date_i18n( __( 'M j, Y @ H:i' ), strtotime( \$post->post_date ) );
47 |
48 | \$messages[ \$post_type ] = array(
49 | 0 => '', // Unused. Messages start at index 1.
50 | 1 => sprintf( __( '%s updated.%s'$4 ), \$post_type_object->labels->singular_name , \$view ),
51 | 2 => __( 'Custom field updated.'$4 ),
52 | 3 => __( 'Custom field deleted.'$4 ),
53 | 4 => sprintf( __( '%s updated.'$4 ), \$post_type_object->labels->singular_name ),
54 | /* translators: Last %s: date and time of the revision */
55 | 5 => isset( \$_GET['revision'] ) ?
56 | sprintf(__( '%s restored to revision from %s.'$4 ), \$post_type_object->labels->singular_name, wp_post_revision_title( (int) \$_GET['revision'], false ) ) :
57 | false,
58 | 6 => sprintf( __( '%s published.%s'$4 ), \$post_type_object->labels->singular_name, \$view ),
59 | 7 => sprintf( __( '%s saved.'$4 ), \$post_type_object->labels->singular_name ),
60 | 8 => sprintf( __( '%s submitted.%s'$4 ), \$post_type_object->labels->singular_name, \$preview ),
61 | 9 => sprintf( __( '%s scheduled for: %s.%s'$4 ), \$post_type_object->labels->singular_name, \$scheduled_date, \$scheduled ),
62 | 10 => sprintf( __( '%s draft updated.%s'$4 ), \$post_type_object->labels->singular_name, \$preview ),
63 | );
64 | \}
65 |
66 | return \$messages;
67 | \}${8:
68 | add_filter( 'post_updated_messages', '$2_updated_messages' );}
69 | ]]>
70 | WP Template: Post Type - Function - Updated Messages
71 | wp-post-type-messages
72 | embedding.php - comment - string
73 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-can_export.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Can Export Arguments for Register Post Type
5 | wp-post-type-args-can_export
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-capabilities.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:array( ${2:''} )},
3 | ]]>
4 | WP Template: Capabilities Arguments for Register Post Type
5 | wp-post-type-args-capabilities
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-capability_type.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:'${2:post}'},
3 | ]]>
4 | WP Template: Capability Type Arguments for Register Post Type
5 | wp-post-type-args-capability_type
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-delete-with-user.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:null},
3 | ]]>
4 | WP Template: Delete with user Arguments for Register Post Type
5 | wp-post-type-args-delete-with-user
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-description.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | __( '${3:Post Type Description}', ${1:'${2:Text Domain}'} ),
3 | ]]>
4 | WP Template: Description Arguments for Register Post Type
5 | wp-post-type-args-description
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-exclude_from_search.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:false},
3 | ]]>
4 | WP Template: Exclude From Search Arguments for Register Post Type
5 | wp-post-type-args-exclude_from_search
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-has_archive.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:false},
3 | ]]>
4 | WP Template: Has Archive Arguments for Register Post Type
5 | wp-post-type-args-has_archive
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-hierarchical.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:false},
3 | ]]>
4 | WP Template: Hierarchical Arguments for Register Post Type
5 | wp-post-type-args-hierarchical
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-label.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | _x( '${3:Plural Name}', 'Post type general name', ${1:'${2:Text Domain}'} ),
3 | ]]>
4 | WP Template: Label Arguments for Register Post Type
5 | wp-post-type-args-label
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-labels.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | array(${6:
3 | 'name' => _x( '${4:Plural Name}', 'Post type general name', ${1:'${2:Text Domain}'} ),}${7:
4 | 'singular_name' => _x( '${5:Singular Name}', 'Post type singular name', $1 ),}${8:
5 | 'menu_name' => _x( '$4', 'Admin Menu text', $1 ),}${9:
6 | 'name_admin_bar' => _x( '$5', 'Add New on Toolbar', $1 ),}${10:
7 | 'add_new' => __( 'Add New', $1 ),}${11:
8 | 'add_new_item' => __( 'Add New $5', $1 ),}${12:
9 | 'new_item' => __( 'New $5', $1 ),}${13:
10 | 'edit_item' => __( 'Edit $5', $1 ),}${14:
11 | 'view_item' => __( 'View $5', $1 ),}${15:
12 | 'all_items' => __( 'All $4', $1 ),}${16:
13 | 'search_items' => __( 'Search $4', $1 ),}${17:
14 | 'parent_item_colon' => __( 'Parent $4:', $1 ),}${18:
15 | 'not_found' => __( 'No $4 found.', $1 ),}${19:
16 | 'not_found_in_trash' => __( 'No $4 found in Trash.', $1 ),}${20:
17 | 'featured_image' => _x( '$5 Cover Image', 'Overrides the "Featured Image" phrase for this post type.', $1 ),}${21:
18 | 'set_featured_image' => _x( 'Set cover image', 'Overrides the "Set featured image" phrase for this post type.', $1 ),}${22:
19 | 'remove_featured_image' => _x( 'Remove cover image', 'Overrides the "Remove featured image" phrase for this post type.', $1 ),}${23:
20 | 'use_featured_image' => _x( 'Use as cover image', 'Overrides the "Use as featured image" phrase for this post type.', $1 ),}${24:
21 | 'archives' => _x( '$5 archives', 'The post type archive label used in nav menus. Default "Post Archives".', $1 ),}${25:
22 | 'insert_into_item' => _x( 'Insert into $5', 'Overrides the "Insert into post" or "Insert into page" phrase (used when inserting media into a post).', $1 ),}${26:
23 | 'uploaded_to_this_item' => _x( 'Uploaded to this $5', 'Overrides the "Uploaded to this post"/"Uploaded to this page" phrase (used when viewing media attached to a post).', $1 ),}${27:
24 | 'filter_items_list' => _x( 'Filter $4 list', 'Screen reader text for the filter links heading on the post type listing screen. Default "Filter posts list"/"Filter pages list".', $1 ),}${28:
25 | 'items_list_navigation' => _x( '$4 list navigation', 'Screen reader text for the pagination heading on the post type listing screen. Default "Posts list navigation"/"Pages list navigation".', $1 ),}${29:
26 | 'items_list' => _x( '$4 list', 'Screen reader text for the items list heading on the post type listing screen. Default "Posts list"/"Pages list".', $1 ),}
27 | ),]]>
28 | WP Template: Label Arguments for Register Post Type
29 | wp-post-type-args-labels
30 | source.php meta.array.php - string
31 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-map_meta_cap.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:null},
3 | ]]>
4 | WP Template: Map Meta Cap Arguments for Register Post Type
5 | wp-post-type-args-map_meta_cap
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-menu_icon.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:null},
3 | ]]>
4 | WP Template: Menu Icon Arguments for Register Post Type
5 | wp-post-type-args-menu_icon
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-menu_position.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:null},
3 | ]]>
4 | WP Template: Menu Position Arguments for Register Post Type
5 | wp-post-type-args-menu_position
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-permalink_epmask.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:EP_PERMALINK},
3 | ]]>
4 | WP Template: Permalink Epmask Arguments for Register Post Type
5 | wp-post-type-args-permalink_epmask
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-public.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Public Arguments for Register Post Type
5 | wp-post-type-args-public
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-publicly_queryable.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Publicly Queryable Arguments for Register Post Type
5 | wp-post-type-args-publicly_queryable
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-query_var.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Query Var Arguments for Register Post Type
5 | wp-post-type-args-query_var
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-register_meta_box_cb.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:'${2:callback}'},
3 | ]]>
4 | WP Template: Register Meta Box Callback Arguments for Register Post Type
5 | wp-post-type-args-register_meta_box_cb
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-rewrite.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:array(${2:
3 | 'slug' => ${3:'${4:post_type}'},}${:5
4 | 'with_front' => ${6:true},}${:7
5 | 'feeds' => ${8:true},}${:9
6 | 'pages' => ${10:true},}${:11
7 | 'ep_mask' => ${12:EP_PERMALINK},}
8 | )},
9 | ]]>
10 | WP Template: Rewrite Arguments for Register Post Type
11 | wp-post-type-args-rewrite
12 | source.php meta.array.php - string
13 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-show_in_admin_bar.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Show In Menu Arguments for Register Post Type
5 | wp-post-type-args-show_in_admin_bar
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-show_in_menu.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Show In Menu Arguments for Register Post Type
5 | wp-post-type-args-show_in_menu
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-show_in_nav_menus.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Show In Nav Menus Arguments for Register Post Type
5 | wp-post-type-args-show_in_nav_menus
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-show_ui.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Show UI Arguments for Register Post Type
5 | wp-post-type-args-show_ui
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-supports.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:array(${2:
3 | 'title',}${3:
4 | 'editor',}${4:
5 | 'excerpt',}${5:
6 | 'author',}${6:
7 | 'thumbnail',}${7:
8 | 'comments',}${8:
9 | 'trackbacks',}${9:
10 | 'revisions',}${10:
11 | 'custom-fields',}${11:
12 | 'page-attributes',}${12:
13 | 'post-formats',}
14 | )},
15 | ]]>
16 | WP Template: Supports Arguments for Register Post Type
17 | wp-post-type-args-supports
18 | source.php meta.array.php - string
19 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type-args-taxonomies.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:array( '${2:taxonomy_name}' )},
3 | ]]>
4 | WP Template: Taxonomies Arguments for Register Post Type
5 | wp-post-type-args-taxonomies
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/post-type/register-post-type.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
9 | WP Template: Register Post Type
10 | wp-post-type
11 | source.php - comment - string
12 |
--------------------------------------------------------------------------------
/snippets/post-type/template.php:
--------------------------------------------------------------------------------
1 | _x( 'Plural Name', 'Post type general name', 'text_domain' ),
13 | // 'labels' => array(
14 | // 'name' => _x( 'Plural Name', 'Post type general name', 'text_domain' ),
15 | // 'singular_name' => _x( 'Singular Name', 'Post type singular name', 'text_domain' ),
16 | // 'menu_name' => _x( 'Plural Name', 'Admin Menu text', 'text_domain' ),
17 | // 'name_admin_bar' => _x( 'Singular Name', 'Add New on Toolbar', 'text_domain' ),
18 | // 'add_new' => __( 'Add New', 'text_domain' ),
19 | // 'add_new_item' => __( 'Add New Singular Name', 'text_domain' ),
20 | // 'new_item' => __( 'New Singular Name', 'text_domain' ),
21 | // 'edit_item' => __( 'Edit Singular Name', 'text_domain' ),
22 | // 'view_item' => __( 'View Singular Name', 'text_domain' ),
23 | // 'all_items' => __( 'All Plural Name', 'text_domain' ),
24 | // 'search_items' => __( 'Search Plural Name', 'text_domain' ),
25 | // 'parent_item_colon' => __( 'Parent Plural Name:', 'text_domain' ),
26 | // 'not_found' => __( 'No Plural Name found.', 'text_domain' ),
27 | // 'not_found_in_trash' => __( 'No Plural Name found in Trash.', 'text_domain' ),
28 | // 'featured_image' => _x( 'Singular Name Cover Image', 'Overrides the "Featured Image" phrase for this post type.', 'text_domain' ),
29 | // 'set_featured_image' => _x( 'Set cover image', 'Overrides the "Set featured image" phrase for this post type.', 'text_domain' ),
30 | // 'remove_featured_image' => _x( 'Remove cover image', 'Overrides the "Remove featured image" phrase for this post type.', 'text_domain' ),
31 | // 'use_featured_image' => _x( 'Use as cover image', 'Overrides the "Use as featured image" phrase for this post type.', 'text_domain' ),
32 | // 'archives' => _x( 'Singular Name archives', 'The post type archive label used in nav menus. Default "Post Archives".', 'text_domain' ),
33 | // 'insert_into_item' => _x( 'Insert into Singular Name', 'Overrides the "Insert into post" or "Insert into page" phrase (used when inserting media into a post).', 'text_domain' ),
34 | // 'uploaded_to_this_item' => _x( 'Uploaded to this Singular Name', 'Overrides the "Uploaded to this post"/"Uploaded to this page" phrase (used when viewing media attached to a post).', 'text_domain' ),
35 | // 'filter_items_list' => _x( 'Filter Plural Name list', 'Screen reader text for the filter links heading on the post type listing screen. Default "Filter posts list"/"Filter pages list".', 'text_domain' ),
36 | // 'items_list_navigation' => _x( 'Plural Name list navigation', 'Screen reader text for the pagination heading on the post type listing screen. Default "Posts list navigation"/"Pages list navigation".', 'text_domain' ),
37 | // 'items_list' => _x( 'Plural Name list', 'Screen reader text for the items list heading on the post type listing screen. Default "Posts list"/"Pages list".', 'text_domain' ),
38 | // ),
39 | // 'description' => __( 'Post Type Description', 'text_domain' ),
40 | // 'public' => true,
41 | // 'exclude_from_search' => false,
42 | // 'publicly_queryable' => true,
43 | // 'show_ui' => true,
44 | // 'show_in_nav_menus' => true,
45 | // 'show_in_menu' => true,
46 | // 'show_in_admin_bar' => true,
47 | // 'menu_position' => null,
48 | // 'menu_icon' => null,
49 | // 'capability_type' => 'post',
50 | // 'capabilities' => array(),
51 | // 'map_meta_cap' => null,
52 | // 'hierarchical' => false,
53 | // 'supports' => array( 'title', 'editor', 'excerpt', 'author', 'thumbnail', 'comments', 'trackbacks', 'revisions', 'custom-fields', 'page-attributes', 'post-formats' ),
54 | // 'register_meta_box_cb' => '',
55 | // 'taxonomies' => array( 'category', 'post_tag' ),
56 | // 'has_archive' => true,
57 | // 'permalink_epmask' => EP_PERMALINK,
58 | // 'rewrite' => array(
59 | // 'slug' => 'post_type',
60 | // 'with_front' => true,
61 | // 'feeds' => true,
62 | // 'pages' => true,
63 | // 'ep_mask' => EP_PERMALINK
64 | // ),
65 | // 'query_var' => true,
66 | // 'can_export' => true,
67 | // 'delete_with_user' => null,
68 | );
69 |
70 | if ( ! post_type_exists( 'post_type' ) ) {
71 | register_post_type( 'post_type', $args );
72 | }
73 | }
74 | add_action( 'init', 'function_prefix_register_post_type', 0 );
75 |
--------------------------------------------------------------------------------
/snippets/schedule/schedule-event.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
14 | WP Template: Scheduled Event if not exists
15 | wp-scheduled
16 | source.php - comment - string
17 |
--------------------------------------------------------------------------------
/snippets/schedule/unschedule-next-event.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
13 | WP Template: Unscheduled Next Event if exists
14 | wp-unscheduled
15 | source.php - comment - string
16 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-capabilities.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:array( ${2:''} )},
3 | ]]>
4 | WP Template: Capabilities Arguments for Register Taxonomy
5 | wp-taxonomy-args-capabilities
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-description.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | __( '${3:Taxonomy Description}', ${1:'${2:Text Domain}'} ),
3 | ]]>
4 | WP Template: Description Arguments for Register Taxonomy
5 | wp-taxonomy-args-description
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-hierarchical.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:false},
3 | ]]>
4 | WP Template: Hierarchical Arguments for Register Taxonomy
5 | wp-taxonomy-args-hierarchical
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-label.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | _x( '${3:Plural Name}', 'Taxonomy general name', ${1:'${2:Text Domain}'} ),
3 | ]]>
4 | WP Template: Label Arguments for Register Taxonomy
5 | wp-taxonomy-args-label
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-labels.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | array(${6:
3 | 'name' => _x( '${4:Plural Name}', 'Taxonomy general name', ${1:'${2:Text Domain}'} ),}${7:
4 | 'singular_name' => _x( '${5:Singular Name}', 'Taxonomy singular name', $1 ),}${8:
5 | 'menu_name' => _x( '$4', 'Admin Menu text', $1 ),}${9:
6 | 'all_items' => __( 'All $4', $1 ),}{10:
7 | 'edit_item' => __( 'Edit $5', $1 ),}{11:
8 | 'view_item' => __( 'View $5', $1 ),}{12:
9 | 'update_item' => __( 'Update $5', $1 ),}{13:
10 | 'add_new_item' => __( 'Add New $5', $1 ),}{14:
11 | 'new_item_name' => __( 'New $5 Name', $1 ),}{15:
12 | 'parent_item' => __( 'Parent $5', $1 ),}{16:
13 | 'parent_item_colon' => __( 'Parent $5:', $1 ),}{17:
14 | 'search_items' => __( 'Search $5', $1 ),}{18:
15 | 'popular_items' => __( 'Popular $5', $1 ),}{19:
16 | 'separate_items_with_commas' => __( 'Separate $4 with commas', $1 ),}{20:
17 | 'add_or_remove_items' => __( 'Add or remove $4', $1 ),}{21:
18 | 'choose_from_most_used' => __( 'Choose from the most used $4', $1 ),}{22:
19 | 'not_found' => __( 'Not $4 found', $1 ),}
20 | ),]]>
21 | WP Template: Label Arguments for Register Taxonomy
22 | wp-taxonomy-args-labels
23 | source.php meta.array.php - string
24 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-public.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Public Arguments for Register Taxonomy
5 | wp-taxonomy-args-public
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-publicly_queryable.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Publicly Queryable Arguments for Register Taxonomy
5 | wp-taxonomy-args-publicly_queryable
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-query_var.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Query Var Arguments for Register Taxonomy
5 | wp-taxonomy-args-query_var
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-register_meta_box_cb.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:'${2:callback}'},
3 | ]]>
4 | WP Template: Register Meta Box Callback Arguments for Register Taxonomy
5 | wp-taxonomy-args-register_meta_box_cb
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-rewrite.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:array(${2:
3 | 'slug' => ${3:'${4:taxonomy}'},}${:5
4 | 'with_front' => ${6:true},}${:7
5 | 'hierarchical' => ${8:false},}${:9
6 | 'ep_mask' => ${12:EP_NONE},}
7 | )},
8 | ]]>
9 | WP Template: Rewrite Arguments for Register Taxonomy
10 | wp-taxonomy-args-rewrite
11 | source.php meta.array.php - string
12 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-show_admin_column.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:false},
3 | ]]>
4 | WP Template: Show Admin Column Arguments for Register Taxonomy
5 | wp-taxonomy-args-show_admin_column
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-show_in_menu.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Show In Menu Arguments for Register Taxonomy
5 | wp-taxonomy-args-show_in_menu
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-show_in_nav_menus.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Show In Nav Menus Arguments for Register Taxonomy
5 | wp-taxonomy-args-show_in_nav_menus
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-show_in_quick_edit.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Show In Quick Edit Arguments for Register Taxonomy
5 | wp-taxonomy-args-show_in_quick_edit
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-show_tagcloud.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Show Tagcloud Arguments for Register Taxonomy
5 | wp-taxonomy-args-show_tagcloud
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-show_ui.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:true},
3 | ]]>
4 | WP Template: Show UI Arguments for Register Taxonomy
5 | wp-taxonomy-args-show_ui
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy-args-update_count_callback.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:'${2:callback}'},
3 | ]]>
4 | WP Template: Update Count Callback Arguments for Register Taxonomy
5 | wp-taxonomy-args-update_count_callback
6 | source.php meta.array.php - string
7 |
--------------------------------------------------------------------------------
/snippets/taxonomy/register-taxonomy.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
14 | WP Template: Register Taxonomy
15 | wp-taxonomy
16 | source.php - comment - string
17 |
--------------------------------------------------------------------------------
/snippets/taxonomy/template.php:
--------------------------------------------------------------------------------
1 | _x( 'Plural Name', 'Context Plural Name', 'text_domain' ),
11 | // 'labels' => array(
12 | // 'name' => _x( 'Plural Name', 'Context Plural Name', 'text_domain' ),
13 | // 'singular_name' => _x( 'Singular Name', 'Context Singular Name', 'text_domain' ),
14 | // 'menu_name' => _x( 'Plural Name', 'Context Menu Name', 'text_domain' ),
15 | // 'all_items' => __( 'All Plural Name', 'text_domain' ),
16 | // 'edit_item' => __( 'Edit Singular Name', 'text_domain' ),
17 | // 'view_item' => __( 'View Singular Name', 'text_domain' ),
18 | // 'update_item' => __( 'Update Singular Name', 'text_domain' ),
19 | // 'add_new_item' => __( 'Add New Singular Name', 'text_domain' ),
20 | // 'new_item_name' => __( 'New Singular Name Name', 'text_domain' ),
21 | // 'parent_item' => __( 'Parent Singular Name', 'text_domain' ),
22 | // 'parent_item_colon' => __( 'Parent Singular Name:', 'text_domain' ),
23 | // 'search_items' => __( 'Search Singular Name', 'text_domain' ),
24 | // 'popular_items' => __( 'Popular Singular Name', 'text_domain' ),
25 | // 'separate_items_with_commas' => __( 'Separate plural name with commas', 'text_domain' ),
26 | // 'add_or_remove_items' => __( 'Add or remove plural name', 'text_domain' ),
27 | // 'choose_from_most_used' => __( 'Choose from the most used plural name', 'text_domain' ),
28 | // 'not_found' => __( 'Not plural name found', 'text_domain' ),
29 | // ),
30 | // 'public' => true,
31 | // 'show_ui' => true,
32 | // 'show_in_menu' => true,
33 | // 'show_in_nav_menus' => true,
34 | // 'show_tagcloud' => true,
35 | // 'show_in_quick_edit' => true,
36 | // 'meta_box_cb' => null,
37 | // 'show_admin_column' => false,
38 | // 'description' => '',
39 | // 'hierarchical' => false,
40 | // 'update_count_callback' => '',
41 | // 'query_var' => true,
42 | // 'rewrite' => array(
43 | // 'slug' => 'taxonomy',
44 | // 'with_front' => true,
45 | // 'hierarchical' => false,
46 | // 'ep_mask' => EP_NONE
47 | // ),
48 | // 'publicly_queryable' => true,
49 | // 'capabilities' => array(),
50 | );
51 |
52 | if ( ! taxonomy_exists( 'taxonomy' ) ) {
53 | register_taxonomy( 'taxonomy', array( 'post_type_name' ), \$args );
54 | /**
55 | * Optional. Better be safe than sorry when registering custom taxonomies for custom post types.
56 | */
57 | register_taxonomy_for_object_type( 'taxonomy', 'post_type_name' );
58 | }
59 | }
60 | add_action( 'init', 'function_prefix_register_taxonomy', 10 );
61 |
--------------------------------------------------------------------------------
/snippets/unclassified/contextual-help-tabs.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | add_help_tab( array(
13 | 'id' => ${3:'${4:id_help_tab}'},
14 | 'title' => ${5:__( '${6:Help Tab Title}'${7:, ${8:'${9:text_domain}'}} )},
15 | 'content' => ${10:sprintf( '%s
', __( '${11:Descriptive content that will show in My Help Tab-body goes here.}'$8 ) )}${12:,
16 | 'callback' => '${13:callback}'}
17 | ) );
18 |
19 | ${14:// Optional.
20 | \$screen->set_help_sidebar( ${15:'This is the content you will be adding to the sidebar for the current page. You must make sure other tabs have already been added using the "add_help_tab" function above. This sidebar will not show up unless there are tabs for the current screen'} );}
21 | \}
22 | ]]>
23 | WP Template: Contextual Help Tabs
24 | wp-help-tabs
25 | embedding.php - comment - string
26 |
--------------------------------------------------------------------------------
/snippets/unclassified/phpdoc-header.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | }
14 | ]]>
15 | WP Template: PHPDoc Header
16 | wp-phpdoc
17 | embedding.php - comment - string
18 |
19 |
--------------------------------------------------------------------------------
/snippets/unclassified/secure-file.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 |
4 | WP Template: Prevent Direct Access to files
5 | wp-secure-file
6 | source.php - comment - string
7 |
8 |
--------------------------------------------------------------------------------
/snippets/unclassified/theme-widget.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${4:__( '${5:Widget Description}'${6:, ${7:'${8:text_domain}'}} )}
30 | });
31 |
32 | \$control_options = array(${9:});
33 |
34 | parent::__construct(
35 | ${10:'${11:id_base}_widget'},
36 | ${12:'${13:name}'},
37 | ${14:\$widget_options,
38 | }${15:\$control_options
39 | });
40 | \}
41 |
42 | /**
43 | * Front-end display of widget
44 | *
45 | * @see WP_Widget::widget()
46 | *
47 | * @param array \$args Widget arguments.
48 | * @param array \$instance Saved values from database.
49 | */
50 | public function widget( \$args, \$instance ) \{
51 | echo \$args['before_widget'];
52 |
53 | if ( ! empty( \$instance['title'] ) )
54 | echo \$args['before_title'] . apply_filters( 'widget_title', \$instance['title'] ) . \$args['after_title'];
55 |
56 | ${0:// Your Code}
57 |
58 | echo \$args['after_widget'];
59 | \}
60 |
61 | /**
62 | * Back-end widget form.
63 | *
64 | * @see WP_Widget::form()
65 | *
66 | * @param array \$instance Previously saved values from database.
67 | */
68 | public function form( \$instance ) \{
69 | // Your Code
70 | \}
71 |
72 | /**
73 | * Sanitize widget form values as they are saved.
74 | *
75 | * @see WP_Widget::update()
76 | *
77 | * @param array \$new_instance Values just sent to be saved.
78 | * @param array \$old_instance Previously saved values from database.
79 | *
80 | * @return array Updated safe values to be saved.
81 | */
82 | public function update( \$new_instance, \$old_instance ) \{
83 | \$update = array();
84 |
85 | // Your Code
86 |
87 | return ! empty( \$update ) ? \$update : \$old_instance;
88 | \}
89 | \}
90 |
91 | add_action( 'widgets_init', function() \{
92 | register_widget( '$2_Widget' );
93 | \} );
94 |
95 | ]]>
96 | WP Template: Register Theme Widget
97 | wp-theme-widget
98 | embedding.php - comment - string
99 |
--------------------------------------------------------------------------------
/snippets/wp-query/arguments.php:
--------------------------------------------------------------------------------
1 | 1,
16 | 'author_name' => 'user_nicename',
17 | 'author__in' => array( 1, 2, 3 ),
18 | 'author__not_in' => array( 1, 2, 3 ),
19 | /**
20 | * Category Parameters
21 | *
22 | * Show posts associated with certain categories.
23 | *
24 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Category_Parameters
25 | *
26 | * cat : (int) - use category id.
27 | * category_name : (string) - use category slug (NOT name).
28 | * category__and : (array) - use category id.
29 | * category__in : (array) - use category id.
30 | * category__not_in : (array) - use category id.
31 | */
32 | 'cat' => 1,
33 | 'category_name' => 'category_slug',
34 | 'category__and' => array( 1, 2, 3 ),
35 | 'category__in' => array( 1, 2, 3 ),
36 | 'category__not_in' => array( 1, 2, 3 ),
37 | /**
38 | * Tag Parameters
39 | *
40 | * Show posts associated with certain tags.
41 | *
42 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Tag_Parameters
43 | *
44 | * tag : (string) - use tag slug.
45 | * tag_id : (int) - use tag id.
46 | * tag__and : (array) - use tag ids.
47 | * tag__in : (array) - use tag ids.
48 | * tag__not_in : (array) - use tag ids.
49 | * tag_slug__and : (array) - use tag slugs.
50 | * tag_slug__in : (array) - use tag slugs.
51 | */
52 | 'tag' => 'tag_slug',
53 | 'tag_id' => 1,
54 | 'tag__and' => array( 1, 2, 3 ),
55 | 'tag__in' => array( 1, 2, 3 ),
56 | 'tag__not_in' => array( 1, 2, 3 ),
57 | 'tag_slug__and' => array( 'tag_slug_one', 'tag_slug_two', 'tag_slug_three' ),
58 | 'tag_slug__in' => array( 'tag_slug_one', 'tag_slug_two', 'tag_slug_three' ),
59 | /**
60 | * Taxonomy Parameters
61 | *
62 | * Show posts associated with certain taxonomy.
63 | *
64 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
65 | *
66 | * tax_query : (array) - use taxonomy parameters (available with Version 3.1).
67 | * relation : (string) - The logical relationship between each inner taxonomy array when there is more than one.
68 | * Possible values are 'AND', 'OR'. Do not use with a single inner taxonomy array.
69 | * taxonomy : (string) - Taxonomy.
70 | * field : (string) - Select taxonomy term by ('term_id'(default), 'name' or 'slug')
71 | * terms : (int/string/array) - Taxonomy term(s).
72 | * include_children : (boolean) - Whether or not to include children for hierarchical taxonomies. Defaults to true.
73 | * operator : (string) - Operator to test. Possible values are 'IN'(default), 'NOT IN', 'AND'.
74 | */
75 | 'tax_query' => array(
76 | 'relation' => 'AND',
77 | array(
78 | 'taxonomy' => 'taxonomy',
79 | 'field' => 'term_id',
80 | 'terms' => 1,
81 | 'include_children' => true,
82 | 'operator' => 'IN',
83 | ),
84 | ),
85 | /**
86 | * Search Parameter
87 | *
88 | * Show posts based on a keyword search.
89 | *
90 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Search_Parameter
91 | *
92 | * s : (string) - Search keyword.
93 | */
94 | 's' => 'keyword',
95 | /**
96 | * Post & Page Parameters
97 | *
98 | * Display content based on post and page parameters. Remember that default post_type is only set to display posts but not pages.
99 | *
100 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Post_.26_Page_Parameters
101 | *
102 | * p : (int) - use post id.
103 | * name : (string) - use post slug.
104 | * page_id : (int) - use page id.
105 | * pagename : (string) - use page slug.
106 | * post_parent : (int) - use page id to return only child pages. Set to 0 to return only top-level entries.
107 | * post_parent__in : (array) - use post ids. Specify posts whose parent is in an array.
108 | * NOTE: Introduced in 3.6 http://core.trac.wordpress.org/ticket/11056
109 | * post_parent__not_in : (array) - use post ids. Specify posts whose parent is not in an array.
110 | * post__in : (array) - use post ids. Specify posts to retrieve.
111 | * ATTENTION: If you use sticky posts, they will be included (prepended!) in the posts you retrieve whether you want it or not.
112 | * To suppress this behaviour use ignore_sticky_posts.
113 | * post__not_in : (array) - use post ids. Specify post NOT to retrieve.
114 | */
115 | 'p' => 1,
116 | 'name' => 'post_slug',
117 | 'page_id' => 1,
118 | 'pagename' => 'page_slug',
119 | 'post_parent' => 0,
120 | 'post_parent__in' => array( 1, 2, 3 ),
121 | 'post_parent__not_in' => array( 1, 2, 3 ),
122 | 'post__in' => array( 1, 2, 3 ),
123 | 'post__not_in' => array( 1, 2, 3 ),
124 | /**
125 | * Password Parameters
126 | *
127 | * Show content based on post and page parameters. Remember that default post_type is only set to display posts but not pages.
128 | *
129 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Password_Parameters
130 | *
131 | * has_password : (bool) - true : posts with passwords
132 | * false : posts without passwords
133 | * null : all posts with and without passwords (available with Version 3.9).
134 | * post_password : (string) - show posts with a particular password (available with Version 3.9)
135 | */
136 | 'has_password' => true,
137 | 'post_password' => 'password',
138 | /**
139 | * Type Parameters
140 | *
141 | * Show posts associated with certain type.
142 | *
143 | * @see https://codex.wordpress.org/Post_Types
144 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Type_Parameters
145 | *
146 | * post_type : (string|array) - use post types.
147 | * Retrieves posts by Post Types, default value is 'post'.
148 | * If 'tax_query' is set for a query, the default value becomes 'any'.
149 | *
150 | * 'post' - a post.
151 | * 'page' - a page.
152 | * 'revision' - a revision.
153 | * 'attachment' - an attachment. Whilst the default WP_Query post_status is 'publish', attachments have a default post_status of 'inherit'.
154 | * This means no attachments will be returned unless you also explicitly set post_status to 'inherit' or 'any'.
155 | * (see https://codex.wordpress.org/Class_Reference/WP_Query#Status_Parameters)
156 | * 'nav_menu_item' - a navigation menu item
157 | * 'any' - retrieves any type except revisions and types with 'exclude_from_search' set to true.
158 | * 'custom_post_type' - Custom Post Types (e.g. movies)
159 | */
160 | 'post_type' => 'post',
161 | /**
162 | * Status Parameters
163 | *
164 | * Show posts associated with certain status.
165 | *
166 | * @see https://codex.wordpress.org/Post_Status
167 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Status_Parameters
168 | *
169 | * post_status : (string|array) - use post status.
170 | * Retrieves posts by Post Status.
171 | * Default value is 'publish', but if the user is logged in, 'private' is added.
172 | * And if the query is run in an admin context (administration area or AJAX call), protected statuses are added too.
173 | * By default protected statuses are 'future', 'draft' and 'pending'.
174 | *
175 | * 'publish' : a published post or page.
176 | * 'pending' : post is pending review.
177 | * 'draft' : a post in draft status.
178 | * 'auto-draft' : a newly created post, with no content.
179 | * 'future' : a post to publish in the future.
180 | * 'private' : not visible to users who are not logged in.
181 | * 'inherit' : a revision. see get_children.
182 | * 'trash' : post is in trashbin (available with Version 2.9).
183 | * 'any' : retrieves any status except those from post statuses with 'exclude_from_search' set to true (i.e. trash and auto-draft).
184 | */
185 | 'post_status' => 'publish',
186 | /**
187 | * Pagination Parameters
188 | *
189 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Pagination_Parameters
190 | *
191 | * nopaging : (boolean) - show all posts or use pagination. Default value is 'false', use paging.
192 | * posts_per_page : (int) - number of post to show per page (available with Version 2.1, replaced showposts parameter).
193 | * Use 'posts_per_page'=>-1 to show all posts (the 'offset' parameter is ignored with a -1 value).
194 | * Set the 'paged' parameter if pagination is off after using this parameter.
195 | * NOTE:
196 | * If the query is in a feed, wordpress overwrites this parameter with the stored 'posts_per_rss' option.
197 | * To reimpose the limit, try using the 'post_limits' filter, or filter 'pre_option_posts_per_rss' and return -1
198 | * posts_per_archive_page : (int) - number of posts to show per page - on archive pages only.
199 | * Over-rides posts_per_page and showposts on pages where is_archive() or is_search() would be true.
200 | * offset : (int) - number of post to displace or pass over.
201 | * WARNING:
202 | * Setting the offset parameter overrides/ignores the paged parameter and breaks pagination.
203 | * (see https://codex.wordpress.org/Making_Custom_Queries_using_Offset_and_Pagination for a workaround).
204 | * The 'offset' parameter is ignored when 'posts_per_page'=>-1 (show all posts) is used.
205 | * paged : (int) - number of page. Show the posts that would normally show up just on page X when using the "Older Entries" link.
206 | * page : (int) - number of page for a static front page. Show the posts that would normally show up just on page X of a Static Front Page.
207 | * ignore_sticky_posts : (boolean) - ignore post stickiness (available with Version 3.1, replaced caller_get_posts parameter).
208 | *
209 | * false (default) : move sticky posts to the start of the set.
210 | * true : do not move sticky posts to the start of the set.
211 | */
212 | 'nopaging' => false,
213 | 'posts_per_page' => 10,
214 | 'posts_per_archive_page' => 10,
215 | 'offset' => 0,
216 | 'paged' => 1,
217 | 'page' => 1,
218 | 'ignore_sticky_post' => false,
219 | /**
220 | * Order & Orderby Parameters
221 | *
222 | * Sort retrieved posts.
223 | *
224 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
225 | *
226 | * order : (string|array) - Designates the ascending or descending order of the 'orderby' parameter.
227 | * Defaults to 'DESC'. An array can be used for multiple order/orderby sets.
228 | *
229 | * 'ASC' : ascending order from lowest to highest values (1, 2, 3; a, b, c).
230 | * 'DESC' : descending order from highest to lowest values (3, 2, 1; c, b, a).
231 | *
232 | * orderby : (string|array) - Sort retrieved posts by parameter.
233 | * Defaults to 'date (post_date)'. One or more options can be passed.
234 | *
235 | * 'none' : No order (available with Version 2.8).
236 | * 'ID' : Order by post id. Note the capitalization.
237 | * 'author' : Order by author.
238 | * 'title' : Order by title.
239 | * 'name' : Order by post name (post slug).
240 | * 'type' : Order by post type (available since Version 4.0).
241 | * 'date' : Order by date.
242 | * 'modified' : Order by last modified date.
243 | * 'parent' : Order by post/page parent id.
244 | * 'rand' : Random order.
245 | * 'comment_count' : Order by number of comments (available with Version 2.9).
246 | * 'menu_order' : Order by Page Order.
247 | * Used most often for Pages (Order field in the Edit Page Attributes box)
248 | * and for Attachments (the integer fields in the Insert/Upload Media Gallery dialog),
249 | * but could be used for any post type with distinct 'menu_order' values (they all default to 0).
250 | * 'meta_value' : Note that a 'meta_key=keyname' must also be present in the query.
251 | * Note also that the sorting will be alphabetical which is fine for strings (i.e. words),
252 | * but can be unexpected for numbers (e.g. 1, 3, 34, 4, 56, 6, etc, rather than 1, 3, 4, 6, 34, 56 as you might naturally expect).
253 | * Use 'meta_value_num' instead for numeric values.
254 | * You may also specify 'meta_type' if you want to cast the meta value as a specific type.
255 | * Possible values 'NUMERIC', 'BINARY', 'CHAR', 'DATE', 'DATETIME', 'DECIMAL', 'SIGNED', 'TIME', 'UNSIGNED', same as in '\$meta_query'.
256 | * 'meta_value_num' : Order by numeric meta value (available with Version 2.8).
257 | * Also note that a 'meta_key=keyname' must also be present in the query.
258 | * This value allows for numerical sorting as noted above in 'meta_value'.
259 | * 'post__in' : Preserve post ID order given in the post__in array (available with Version 3.5).
260 | */
261 | 'order' => 'DESC',
262 | 'orderby' => 'date',
263 | /**
264 | * Date Parameters
265 | *
266 | * Show posts associated with a certain time and date period.
267 | *
268 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Date_Parameters
269 | *
270 | * year : (int) - 4 digit year (e.g. 2011).
271 | * monthnum : (int) - Month number (from 1 to 12).
272 | * w : (int) - Week of the year (from 0 to 53).
273 | * Uses MySQL WEEK command.
274 | * The mode is dependent on the "start_of_week" option.
275 | * day : (int) - Day of the month (from 1 to 31).
276 | * hour : (int) - Hour (from 0 to 23).
277 | * minute : (int) - Minute (from 0 to 60).
278 | * second : (int) - Second (0 to 60).
279 | * m : (int) - YearMonth (For e.g.: 201307).
280 | *
281 | * date_query : (array) - Date parameters (available with Version 3.7).
282 | * year : (int) - 4 digit year (e.g. 2011).
283 | * month : (int) - Month number (from 1 to 12).
284 | * week : (int) - Week of the year (from 0 to 53).
285 | * day : (int) - Day of the month (from 1 to 31).
286 | * hour : (int) - Hour (from 0 to 23).
287 | * minute : (int) - Minute (from 0 to 59).
288 | * second : (int) - Second (0 to 59).
289 | * after : (string/array) - Date to retrieve posts after.
290 | * Accepts strtotime() - compatible string, or array of 'year', 'month', 'day' values:
291 | *
292 | * year : (string) - Accepts any four-digit year. Default is empty.
293 | * month : (string) - The month of the year. Accepts numbers 1-12. Default: 12.
294 | * day : (string) - The day of the month. Accepts numbers 1-31. Default: last day of month.
295 | * before : (string/array) - Date to retrieve posts before.
296 | * Accepts strtotime()-compatible string, or array of 'year', 'month', 'day' values:
297 | *
298 | * year : (string) - Accepts any four-digit year. Default is empty.
299 | * month : (string) - The month of the year. Accepts numbers 1-12. Default: 1.
300 | * day : (string) - The day of the month. Accepts numbers 1-31. Default: 1.
301 | * inclusive : (boolean) - For after/before, whether exact value should be matched or not'.
302 | * compare : (string) - See WP_Date_Query::get_compare().
303 | * column : (string) - Column to query against. Default: 'post_date'.
304 | * relation : (string) - OR or AND, how the sub-arrays should be compared. Default: AND.
305 | */
306 | 'year' => 2011,
307 | 'monthnum' => 12,
308 | 'w' => 53,
309 | 'day' => 31,
310 | 'hour' => 23,
311 | 'minute' => 60,
312 | 'second' => 60,
313 | 'm' => 201307,
314 | 'date_query' => array(
315 | array(
316 | 'year' => 2011,
317 | 'monthnum' => 12,
318 | 'w' => 53,
319 | 'day' => 31,
320 | 'hour' => 23,
321 | 'minute' => 60,
322 | 'second' => 60,
323 | 'after' => 'date',
324 | 'before' => 'date',
325 | ),
326 | 'inclusive' => true,
327 | 'compare' => '=',
328 | 'column' => 'post_date',
329 | 'relation' => 'AND',
330 | ),
331 | /**
332 | * Custom Field Parameters
333 | *
334 | * Show posts associated with a certain custom field.
335 | *
336 | * This part of the query is parsed by WP_Meta_Query.
337 | *
338 | * @see https://codex.wordpress.org/Class_Reference/WP_Meta_Query
339 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters
340 | *
341 | * meta_key : (string) - Custom field key. ( You must sanitize this yourself )
342 | * meta_value : (string|array) - Custom field value. ( You must sanitize this yourself )
343 | * meta_value_num : (number) - Custom field value.
344 | * meta_type : (number) - Custom field type (see type below for options).
345 | * meta_compare : (string) - Operator to test the 'meta_value'. Default value is '='.
346 | * Possible values:
347 | * '=', '!=', '>', '>=', '<', '<='
348 | * 'LIKE', 'NOT LIKE'
349 | * 'IN', 'NOT IN'
350 | * 'BETWEEN', 'NOT BETWEEN'
351 | * 'NOT EXISTS'
352 | * 'REGEXP', 'NOT REGEXP'
353 | * 'RLIKE'
354 | *
355 | * meta_query : (array) - Custom field parameters (available with Version 3.1).
356 | * key : (string) - Custom field key.
357 | * value : (string|array) - Custom field value.
358 | * It can be an array only when compare is 'IN', 'NOT IN', 'BETWEEN', or 'NOT BETWEEN'.
359 | * You don't have to specify a value when using the 'EXISTS' or 'NOT EXISTS' comparisons in WordPress 3.9 and up.
360 | * NOTE:
361 | * Due to bug http://core.trac.wordpress.org/ticket/23268,
362 | * value is required for NOT EXISTS comparisons to work correctly prior to 3.9.
363 | * You must supply some string for the value parameter.
364 | * An empty string or NULL will NOT work.
365 | * However, any other string will do the trick and will NOT show up in your SQL when using NOT EXISTS.
366 | * Need inspiration? How about 'bug #23268'.
367 | * compare : (string) - Operator to test the 'value'. Default value is '='.
368 | * Possible values:
369 | * '=', '!=', '>', '>=', '<', '<='
370 | * 'LIKE', 'NOT LIKE'
371 | * 'IN', 'NOT IN'
372 | * 'BETWEEN', 'NOT BETWEEN'
373 | * 'EXISTS', 'NOT EXISTS' (only in WP >= 3.5)
374 | *
375 | * type : (string) - Custom field type. Default value is 'CHAR'.
376 | * Possible values:
377 | * 'NUMERIC', 'BINARY', 'CHAR', 'DATE', 'DATETIME', 'DECIMAL', 'SIGNED', 'TIME', 'UNSIGNED'
378 | *
379 | * relation : (string) - The logical relationship between each inner meta_query array when there is more than one.
380 | * Possible values are 'AND', 'OR'.
381 | * Do not use with a single inner meta_query array.
382 | */
383 | 'meta_key' => 'custom_field_key',
384 | 'meta_value' => 'custom_field_value',
385 | 'meta_value_num' => '1',
386 | 'meta_compare' => '=',
387 | 'meta_query' => array(
388 | 'relation' => 'AND',
389 | array(
390 | 'key' => 'custom_field_key',
391 | 'value' => 'custom_field_value',
392 | 'compare' => '=',
393 | 'type' => 'CHAR',
394 | ),
395 | ),
396 | /**
397 | * Permission Parameters
398 | *
399 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Permission_Parameters
400 | *
401 | * perm : (string) - User permission.
402 | */
403 | 'perm' => 'readable',
404 | /**
405 | * Caching Parameters
406 | *
407 | * Stop the data retrieved from being added to the cache.
408 | *
409 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Caching_Parameters
410 | *
411 | * cache_results : (boolean) - Post information cache.
412 | * update_post_meta_cache : (boolean) - Post meta information cache.
413 | * update_post_term_cache : (boolean) - Post term information cache.
414 | */
415 | 'cache_results' => true,
416 | 'update_post_meta_cache' => true,
417 | 'update_post_term_cache' => true,
418 | /**
419 | * Return Fields Parameter
420 | *
421 | * Set return values.
422 | *
423 | * @see https://codex.wordpress.org/Class_Reference/WP_Query#Return_Fields_Parameter
424 | *
425 | * fields: (string) - Which fields to return. All fields are returned by default.
426 | * There are two other options:
427 | * 'ids' : Return an array of post IDs.
428 | * 'id=>parent' : Return an array of stdClass objects with ID and post_parent properties.
429 | * Passing anything else will return all fields (default) - an array of post objects.
430 | */
431 | 'fields' => '',
432 | );
433 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-author.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${2:1},
15 | }${3:'author_name' => ${4:'${5:user_nicename}'},
16 | }${6:'author__in' => ${7:array( ${8:1, 2, 3} )},}${9:
17 | 'author__not_in' => ${10:array( ${11:1, 2, 3} )},}
18 | ]]>
19 | WP Template: Author Parameters for WP_Query
20 | wp-query-args-author
21 | source.php meta.array.php - string
22 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-caching.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${2:true},
14 | }${3:'update_post_meta_cache' => ${4:true},}${5:
15 | 'update_post_term_cache' => ${6:true},}
16 | ]]>
17 | WP Template: Caching Parameters for WP_Query
18 | wp-query-args-caching
19 | source.php meta.array.php - string
20 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-category.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${2:1},
16 | }${3:'category_name' => ${4:'${5:category_slug}'},
17 | }${6:'category__and' => ${7:array( ${8:1, 2, 3} )},
18 | }${9:'category__in' => ${10:array( ${11:1, 2, 3} )},}${12:
19 | 'category__not_in' => ${13:array( ${14:1, 2, 3} )},}
20 | ]]>
21 | WP Template: Category Parameters for WP_Query
22 | wp-query-args-category
23 | source.php meta.array.php - string
24 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-date-query.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | array(
37 | ${1:'inclusive' => ${2:true},
38 | }${3:'compare' => ${4:'${5:=}'},
39 | }${6:'column' => ${7:'${8:post_date}'},
40 | }${9:'relation' => ${10:'${11:AND}'},}
41 | array(
42 | ${12:'year' => ${13:2011},
43 | }${14:'monthnum' => ${15:12},
44 | }${16:'w' => ${17:53},
45 | }${18:'day' => ${19:31},
46 | }${20:'hour' => ${21:23},
47 | }${22:'minute' => ${23:60},
48 | }${24:'second' => ${25:60},
49 | }${26:'after' => ${27:'${28:date}'},}${29:
50 | 'before' => ${30:'${31:date}'},}
51 | ),
52 | ),
53 | ]]>
54 | WP Template: Date with 'date_query' Parameters for WP_Query
55 | wp-query-args-date-query
56 | source.php meta.array.php - string
57 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-date.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${2:2011},
21 | }${3:'monthnum' => ${4:12},
22 | }${5:'w' => ${6:53},
23 | }${7:'day' => ${8:31},
24 | }${9:'hour' => ${10:23},
25 | }${11:'minute' => ${12:60},
26 | }${13:'second' => ${14:60},${15:
27 | 'm' => ${16:201307},}
28 | ]]>
29 | WP Template: Date Parameters for WP_Query
30 | wp-query-args-date
31 | source.php meta.array.php - string
32 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-fields.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | parent' : Return an array of stdClass objects with ID and post_parent properties.
13 | * Passing anything else will return all fields (default) - an array of post objects.
14 | */
15 | }'fields' => ${1:'${2:}'},
16 | ]]>
17 | WP Template: Return Fields (AKA Fields) Parameters for WP_Query
18 | wp-query-args-fields
19 | source.php meta.array.php - string
20 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-meta-query.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ', '>=', '<', '<='
31 | * 'LIKE', 'NOT LIKE'
32 | * 'IN', 'NOT IN'
33 | * 'BETWEEN', 'NOT BETWEEN'
34 | * 'EXISTS', 'NOT EXISTS' (only in WP >= 3.5)
35 | *
36 | * type : (string) - Custom field type. Default value is 'CHAR'.
37 | * Possible values:
38 | * 'NUMERIC', 'BINARY', 'CHAR', 'DATE', 'DATETIME', 'DECIMAL', 'SIGNED', 'TIME', 'UNSIGNED'
39 | *
40 | */
41 | }'meta_query' => array(${1:
42 | 'relation' => ${2:'${3:AND}'},}
43 | array(
44 | ${4:'key' => ${5:'${6:custom_field_key}'},
45 | }${7:'value' => ${8:'${9:custom_field_value}'},
46 | }${10:'compare' => ${11:'${12:=}'},}${13:
47 | 'type' => ${14:'${15:CHAR}'},}
48 | ),
49 | ),
50 | ]]>
51 | WP Template: Meta with 'meta_query' Parameters for WP_Query
52 | wp-query-args-meta-query
53 | source.php meta.array.php - string
54 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-meta.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ', '>=', '<', '<='
19 | * 'LIKE', 'NOT LIKE'
20 | * 'IN', 'NOT IN'
21 | * 'BETWEEN', 'NOT BETWEEN'
22 | * 'NOT EXISTS'
23 | * 'REGEXP', 'NOT REGEXP'
24 | * 'RLIKE'
25 | */
26 | }${1:'meta_key' => ${2:'${3:custom_field_key}'},
27 | }${4:'meta_value' => ${5:'${6:custom_field_value}'},
28 | }${7:'meta_value_num' => ${8:'${9:1}'},}${10:
29 | 'meta_compare' => ${11:'${12:=}'},
30 | ]]>
31 | WP Template: Meta Parameters for WP_Query
32 | wp-query-args-meta
33 | source.php meta.array.php - string
34 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-order-orderby.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${2:'${3:DESC}'},
45 | }$4:'orderby' => ${5:'${6:date}'},}
46 | ]]>
47 | WP Template: Order & Orderby Parameters for WP_Query
48 | wp-query-args-order-orderby
49 | source.php meta.array.php - string
50 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-order.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:'${2:DESC}'},
16 | ]]>
17 | WP Template: Order & Orderby Parameters for WP_Query
18 | wp-query-args-order-orderby
19 | source.php meta.array.php - string
20 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-orderby.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:'${2:date}'},
39 | ]]>
40 | WP Template: Orderby Parameters for WP_Query
41 | wp-query-args-orderby
42 | source.php meta.array.php - string
43 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-page.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${2:1},
17 | }${3:'pagename' => ${4:'${5:page_slug}'},
18 | }${6:'post_parent' => ${7:0},
19 | }${8:'post_parent__in' => ${9:array( ${10:1, 2, 3} )},}${11:
20 | 'post_parent__not_in' => ${12:array( ${13:1, 2, 3} )},}
21 | ]]>
22 | WP Template: Page Parameters for WP_Query
23 | wp-query-args-page
24 | source.php meta.array.php - string
25 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-pagination.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | -1 to show all posts (the 'offset' parameter is ignored with a -1 value).
10 | * Set the 'paged' parameter if pagination is off after using this parameter.
11 | * NOTE:
12 | * If the query is in a feed, wordpress overwrites this parameter with the stored 'posts_per_rss' option.
13 | * To reimpose the limit, try using the 'post_limits' filter, or filter 'pre_option_posts_per_rss' and return -1
14 | * posts_per_archive_page : (int) - number of posts to show per page - on archive pages only.
15 | * Over-rides posts_per_page and showposts on pages where is_archive() or is_search() would be true.
16 | * offset : (int) - number of post to displace or pass over.
17 | * WARNING:
18 | * Setting the offset parameter overrides/ignores the paged parameter and breaks pagination.
19 | * (see https://codex.wordpress.org/Making_Custom_Queries_using_Offset_and_Pagination for a workaround).
20 | * The 'offset' parameter is ignored when 'posts_per_page'=>-1 (show all posts) is used.
21 | * paged : (int) - number of page. Show the posts that would normally show up just on page X when using the "Older Entries" link.
22 | * page : (int) - number of page for a static front page. Show the posts that would normally show up just on page X of a Static Front Page.
23 | * ignore_sticky_posts : (boolean) - ignore post stickiness (available with Version 3.1, replaced caller_get_posts parameter).
24 | *
25 | * false (default) : move sticky posts to the start of the set.
26 | * true : do not move sticky posts to the start of the set.
27 | */
28 | }${1:'nopaging' => ${2:false},
29 | }${3:'posts_per_page' => ${4:10},
30 | }${5:'posts_per_archive_page' => ${6:10},
31 | }${7:'offset' => ${8:0},
32 | }${9:'paged' => ${10:1},
33 | }${11:'page' => ${12:1},
34 | }${13:'ignore_sticky_post' => ${14:false},}
35 | ]]>
36 | WP Template: Pagination Parameters for WP_Query
37 | wp-query-args-pagination
38 | source.php meta.array.php - string
39 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-password.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${2:true},
15 | }${3:'post_password' => ${4:'${5:password}'},}
16 | ]]>
17 | WP Template: Password Parameters for WP_Query
18 | wp-query-args-password
19 | source.php meta.array.php - string
20 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-permission.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:'${2:readable}'},
10 | ]]>
11 | WP Template: Permission Parameters for WP_Query
12 | wp-query-args-permission
13 | source.php meta.array.php - string
14 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-post.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${2:190},
21 | }${3:'name' => ${4:'${5:post_slug}'},
22 | }${6:'post_parent' => ${7:0},
23 | }${8:'post_parent__in' => ${9:array( ${10:1, 2, 3} )},
24 | }${11:'post_parent__not_in' => ${12:array( ${13:1, 2, 3} )},
25 | }${14:'post__in' => ${15:array( ${16:1, 2, 3} )},}${17:
26 | 'post__not_in' => ${18:array( ${19:1, 2, 3} )},}
27 | ]]>
28 | WP Template: Post Parameters for WP_Query
29 | wp-query-args-post
30 | source.php meta.array.php - string
31 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-search.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:'${2:keyword}'},
12 | ]]>
13 | WP Template: Search Parameters for WP_Query
14 | wp-query-args-search
15 | source.php meta.array.php - string
16 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-status.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:'${2:publish}'},
27 | ]]>
28 | WP Template: Status Parameters for WP_Query
29 | wp-query-args-status
30 | source.php meta.array.php - string
31 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-tag.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${2:'${3:tag_slug}'},
18 | }${4:'tag_id' => ${5:1},
19 | }${6:'tag__and' => ${7:array( ${8:1, 2, 3} )},
20 | }${9:'tag__in' => ${10:array( ${11:1, 2, 3} )},
21 | }${12:'tag__not_in' => ${13:array( ${14:1, 2, 3} )},
22 | }${15:'tag_slug__and' => ${16:array( ${17:'tag_slug_one', 'tag_slug_two', 'tag_slug_three'} )},}${18:
23 | 'tag_slug__in' => ${19:array( ${20:'tag_slug_one', 'tag_slug_two', 'tag_slug_three'} )},}
24 | ]]>
25 | WP Template: Tag Parameters for WP_Query
26 | wp-query-args-tag
27 | source.php meta.array.php - string
28 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-taxonomy.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | array(${1:
19 | 'relation' => ${2:'${3:AND}'},}
20 | array(
21 | 'taxonomy' => ${4:'${5:taxonomy}'},
22 | ${6:'field' => ${7:'${8:term_id}'},
23 | }${9:'terms' => ${10:array( ${11:1, 2, 3} )},
24 | }${12:'include_children' => ${13:true},}${14:
25 | 'operator' => ${15:'${16:IN}'},}
26 | ),
27 | ),
28 | ]]>
29 | WP Template: Taxonomy Parameters for WP_Query
30 | wp-query-args-tax
31 | source.php meta.array.php - string
32 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query-args-type.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | ${1:'${2:post}'},
25 | ]]>
26 | WP Template: Type Parameters for WP_Query
27 | wp-query-args-type
28 | source.php meta.array.php - string
29 |
--------------------------------------------------------------------------------
/snippets/wp-query/wp-query.sublime-snippet:
--------------------------------------------------------------------------------
1 |
2 | }
6 |
7 | ]]>
8 | WP Template: WP_Query
9 | wp-query
10 | embedding.php - comment - string
11 |
--------------------------------------------------------------------------------