PluginProbe
Orderable – Restaurant & Food Ordering System / 1.19.2
Orderable – Restaurant & Food Ordering System v1.19.2
0.1.4 0.1.5 0.2.0 1.0.0 1.1.0 1.1.1 1.10.0 1.10.1 1.11.0 1.12.0 1.12.1 1.12.2 1.13.0 1.14.0 1.15.0 1.16.0 1.17.0 1.17.1 1.18.0 1.19.0 1.19.1 1.19.2 1.2.0 1.20.0 1.20.1 All 44 releases
orderable / docs / filters.json

filters.json in Orderable – Restaurant & Food Ordering System 1.19.2, at docs/filters.json

2,185 lines 74.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://raw.githubusercontent.com/wp-hooks/generator/0.9.0/schema.json",
3 "hooks": [
4 {
5 "name": "orderable_add_to_cart_button_args",
6 "file": "inc/class-products.php",
7 "type": "filter",
8 "doc": {
9 "description": "Filter the Add to Cart button args.",
10 "long_description": "",
11 "tags": [
12 {
13 "name": "since",
14 "content": "1.0.0"
15 },
16 {
17 "name": "hook",
18 "content": "orderable_add_to_cart_button_args"
19 },
20 {
21 "name": "param",
22 "content": "The button args.",
23 "types": [
24 "array"
25 ],
26 "variable": "$args"
27 },
28 {
29 "name": "param",
30 "content": "The product.",
31 "types": [
32 "\\WC_Product"
33 ],
34 "variable": "$product"
35 },
36 {
37 "name": "param",
38 "content": "The product layout settings.",
39 "types": [
40 "array"
41 ],
42 "variable": "$layout_settings"
43 },
44 {
45 "name": "return",
46 "content": "New value",
47 "types": [
48 "array"
49 ]
50 }
51 ],
52 "long_description_html": ""
53 },
54 "args": 3
55 },
56 {
57 "name": "orderable_admin_notices",
58 "file": "inc/class-admin-notices.php",
59 "type": "filter",
60 "doc": {
61 "description": "Admin Notices.",
62 "long_description": "",
63 "tags": [
64 {
65 "name": "package",
66 "content": "Orderable/Classes"
67 }
68 ],
69 "long_description_html": ""
70 },
71 "args": 1
72 },
73 {
74 "name": "orderable_admin_script_deps",
75 "file": "inc/class-assets.php",
76 "type": "filter",
77 "doc": {
78 "description": "",
79 "long_description": "",
80 "tags": [],
81 "long_description_html": ""
82 },
83 "args": 1
84 },
85 {
86 "name": "orderable_admin_style_deps",
87 "file": "inc/class-assets.php",
88 "type": "filter",
89 "doc": {
90 "description": "",
91 "long_description": "",
92 "tags": [],
93 "long_description_html": ""
94 },
95 "args": 1
96 },
97 {
98 "name": "orderable_allowed_svg_tags",
99 "file": "inc/class-helpers.php",
100 "type": "filter",
101 "doc": {
102 "description": "Filter the allowed SVG tags.",
103 "long_description": "",
104 "tags": [
105 {
106 "name": "since",
107 "content": "1.18.0"
108 },
109 {
110 "name": "hook",
111 "content": "orderable_allowed_svg_tags"
112 },
113 {
114 "name": "param",
115 "content": "The SVG allowed tags.",
116 "types": [
117 "array"
118 ],
119 "variable": "$allowed_html_tags"
120 },
121 {
122 "name": "return",
123 "content": "New value",
124 "types": [
125 "array"
126 ]
127 }
128 ],
129 "long_description_html": ""
130 },
131 "args": 1
132 },
133 {
134 "name": "orderable_checkout_data",
135 "file": "inc/modules/timings/class-timings-checkout.php",
136 "type": "filter",
137 "doc": {
138 "description": "Module: Timings checkout.",
139 "long_description": "",
140 "tags": [
141 {
142 "name": "package",
143 "content": "Orderable/Classes"
144 }
145 ],
146 "long_description_html": ""
147 },
148 "args": 1
149 },
150 {
151 "name": "orderable_default_settings",
152 "file": "inc/class-settings.php",
153 "type": "filter",
154 "doc": {
155 "description": "Settings methods.",
156 "long_description": "",
157 "tags": [
158 {
159 "name": "package",
160 "content": "Orderable/Classes"
161 }
162 ],
163 "long_description_html": ""
164 },
165 "args": 1
166 },
167 {
168 "name": "orderable_exclude_sections_for_unique_categories",
169 "file": "inc/modules/layouts/class-layouts.php",
170 "type": "filter",
171 "doc": {
172 "description": "Exclude Sections for Unique Categories.",
173 "long_description": "",
174 "tags": [
175 {
176 "name": "param",
177 "content": "The Excluded sections.",
178 "types": [
179 "array"
180 ],
181 "variable": "$exclude_sections"
182 },
183 {
184 "name": "param",
185 "content": "The Unfiltered Categories.",
186 "types": [
187 "array"
188 ],
189 "variable": "$categories"
190 },
191 {
192 "name": "param",
193 "content": "Layout Settings.",
194 "types": [
195 "array"
196 ],
197 "variable": "$args"
198 },
199 {
200 "name": "return",
201 "content": "",
202 "types": [
203 "array"
204 ]
205 }
206 ],
207 "long_description_html": ""
208 },
209 "args": 3
210 },
211 {
212 "name": "orderable_flatten_products_by_category_level",
213 "file": "inc/class-products.php",
214 "type": "filter",
215 "doc": {
216 "description": "Filter description.",
217 "long_description": "",
218 "tags": [
219 {
220 "name": "since",
221 "content": "1.0.0"
222 },
223 {
224 "name": "hook",
225 "content": "orderable_flatten_products_by_category_level"
226 },
227 {
228 "name": "param",
229 "content": "The flatten level. Default: <code>all</code>.",
230 "types": [
231 "string"
232 ],
233 "variable": "$flatten_level"
234 },
235 {
236 "name": "param",
237 "content": "The layout args.",
238 "types": [
239 "array"
240 ],
241 "variable": "$args"
242 },
243 {
244 "name": "return",
245 "content": "New value",
246 "types": [
247 "string"
248 ]
249 }
250 ],
251 "long_description_html": ""
252 },
253 "args": 2
254 },
255 {
256 "name": "orderable_flatten_products_by_category_level",
257 "file": "inc/class-products.php",
258 "type": "filter",
259 "doc": {
260 "description": "",
261 "long_description": "",
262 "tags": [],
263 "long_description_html": ""
264 },
265 "args": 2
266 },
267 {
268 "name": "orderable_get_accordion_data",
269 "file": "inc/class-products.php",
270 "type": "filter",
271 "doc": {
272 "description": "",
273 "long_description": "",
274 "tags": [],
275 "long_description_html": ""
276 },
277 "args": 2
278 },
279 {
280 "name": "orderable_get_accordion_data",
281 "file": "inc/class-products.php",
282 "type": "filter",
283 "doc": {
284 "description": "",
285 "long_description": "",
286 "tags": [],
287 "long_description_html": ""
288 },
289 "args": 2
290 },
291 {
292 "name": "orderable_get_accordion_data",
293 "file": "inc/class-products.php",
294 "type": "filter",
295 "doc": {
296 "description": "Filter product accordion data.",
297 "long_description": "",
298 "tags": [
299 {
300 "name": "var",
301 "content": "",
302 "types": [
303 "array"
304 ],
305 "variable": "$data"
306 },
307 {
308 "name": "var",
309 "content": "",
310 "types": [
311 "\\WC_Product"
312 ],
313 "variable": "$product"
314 },
315 {
316 "name": "since",
317 "content": "1.0.0"
318 }
319 ],
320 "long_description_html": ""
321 },
322 "args": 2
323 },
324 {
325 "name": "orderable_get_add_to_cart_trigger",
326 "file": "inc/class-products.php",
327 "type": "filter",
328 "doc": {
329 "description": "",
330 "long_description": "",
331 "tags": [],
332 "long_description_html": ""
333 },
334 "args": 2
335 },
336 {
337 "name": "orderable_get_cart_icon_css",
338 "file": "inc/modules/drawer/class-drawer-settings.php",
339 "type": "filter",
340 "doc": {
341 "description": "",
342 "long_description": "",
343 "tags": [],
344 "long_description_html": ""
345 },
346 "args": 2
347 },
348 {
349 "name": "orderable_get_fine_tune_cart_css",
350 "file": "inc/modules/drawer/class-drawer-settings.php",
351 "type": "filter",
352 "doc": {
353 "description": "Drawer settings.",
354 "long_description": "",
355 "tags": [
356 {
357 "name": "package",
358 "content": "Orderable/Classes"
359 }
360 ],
361 "long_description_html": ""
362 },
363 "args": 2
364 },
365 {
366 "name": "orderable_get_formatted_date",
367 "file": "inc/modules/timings/class-timings.php",
368 "type": "filter",
369 "doc": {
370 "description": "Module: Timings.",
371 "long_description": "Delivery/pickup date and time and lead times.",
372 "tags": [
373 {
374 "name": "package",
375 "content": "Orderable/Classes"
376 }
377 ],
378 "long_description_html": "<p>Delivery/pickup date and time and lead times.</p>"
379 },
380 "args": 2
381 },
382 {
383 "name": "orderable_get_max_orders_field",
384 "file": "inc/modules/timings/class-timings-settings.php",
385 "type": "filter",
386 "doc": {
387 "description": "Timings settings.",
388 "long_description": "",
389 "tags": [
390 {
391 "name": "package",
392 "content": "Orderable/Classes"
393 }
394 ],
395 "long_description_html": ""
396 },
397 "args": 3
398 },
399 {
400 "name": "orderable_get_module_class_name",
401 "file": "inc/class-modules.php",
402 "type": "filter",
403 "doc": {
404 "description": "Module methods.",
405 "long_description": "Load individual modules of Orderable plugin, if they exist.",
406 "tags": [
407 {
408 "name": "package",
409 "content": "Orderable/Classes"
410 }
411 ],
412 "long_description_html": "<p>Load individual modules of Orderable plugin, if they exist.</p>"
413 },
414 "args": 2
415 },
416 {
417 "name": "orderable_get_order_date_time",
418 "file": "inc/modules/timings/class-timings-order.php",
419 "type": "filter",
420 "doc": {
421 "description": "Module: Timings order.",
422 "long_description": "",
423 "tags": [
424 {
425 "name": "package",
426 "content": "Orderable/Classes"
427 }
428 ],
429 "long_description_html": ""
430 },
431 "args": 2
432 },
433 {
434 "name": "orderable_get_product_card_classes",
435 "file": "inc/modules/layouts/class-layouts.php",
436 "type": "filter",
437 "doc": {
438 "description": "",
439 "long_description": "",
440 "tags": [],
441 "long_description_html": ""
442 },
443 "args": 2
444 },
445 {
446 "name": "orderable_get_products",
447 "file": "inc/class-products.php",
448 "type": "filter",
449 "doc": {
450 "description": "",
451 "long_description": "",
452 "tags": [],
453 "long_description_html": ""
454 },
455 "args": 2
456 },
457 {
458 "name": "orderable_get_products_args",
459 "file": "inc/class-products.php",
460 "type": "filter",
461 "doc": {
462 "description": "Filter arguments used to retrieve products from database",
463 "long_description": "",
464 "tags": [
465 {
466 "name": "param",
467 "content": "WC_Product_Query arguments",
468 "types": [
469 "array"
470 ],
471 "variable": "$args"
472 },
473 {
474 "name": "return",
475 "content": "New query arguments",
476 "types": [
477 "array"
478 ]
479 },
480 {
481 "name": "since",
482 "content": "1.2.1"
483 },
484 {
485 "name": "hook",
486 "content": "orderable_get_products_args"
487 }
488 ],
489 "long_description_html": ""
490 },
491 "args": 1
492 },
493 {
494 "name": "orderable_get_products_by_category",
495 "file": "inc/class-products.php",
496 "type": "filter",
497 "doc": {
498 "description": "Filter the products sorted by categories to be shown in the product layout.",
499 "long_description": "",
500 "tags": [
501 {
502 "name": "since",
503 "content": "1.0.0"
504 },
505 {
506 "name": "hook",
507 "content": "orderable_get_products_by_category"
508 },
509 {
510 "name": "param",
511 "content": "The products.",
512 "types": [
513 "array"
514 ],
515 "variable": "$products"
516 },
517 {
518 "name": "param",
519 "content": "The args to retrieve the products.",
520 "types": [
521 "array"
522 ],
523 "variable": "$args"
524 },
525 {
526 "name": "param",
527 "content": "The flatten level e.g. <code>all</code> and <code>children</code>.",
528 "types": [
529 "string"
530 ],
531 "variable": "$flatten_level"
532 },
533 {
534 "name": "return",
535 "content": "New value",
536 "types": [
537 "array"
538 ]
539 }
540 ],
541 "long_description_html": ""
542 },
543 "args": 3
544 },
545 {
546 "name": "orderable_get_products_by_category",
547 "file": "inc/class-products.php",
548 "type": "filter",
549 "doc": {
550 "description": "",
551 "long_description": "",
552 "tags": [],
553 "long_description_html": ""
554 },
555 "args": 3
556 },
557 {
558 "name": "orderable_get_service_type",
559 "file": "inc/modules/services/class-services-order.php",
560 "type": "filter",
561 "doc": {
562 "description": "",
563 "long_description": "",
564 "tags": [],
565 "long_description_html": ""
566 },
567 "args": 2
568 },
569 {
570 "name": "orderable_get_service_type",
571 "file": "inc/modules/services/class-services-order.php",
572 "type": "filter",
573 "doc": {
574 "description": "",
575 "long_description": "",
576 "tags": [],
577 "long_description_html": ""
578 },
579 "args": 2
580 },
581 {
582 "name": "orderable_get_time_slot_fields",
583 "file": "inc/modules/timings/class-timings-settings.php",
584 "type": "filter",
585 "doc": {
586 "description": "",
587 "long_description": "",
588 "tags": [],
589 "long_description_html": ""
590 },
591 "args": 3
592 },
593 {
594 "name": "orderable_get_time_slots_for_zone",
595 "file": "inc/modules/location/zones/class-location-zones.php",
596 "type": "filter",
597 "doc": {
598 "description": "Module: Location (Zones).",
599 "long_description": "",
600 "tags": [
601 {
602 "name": "since",
603 "content": "1.18.0"
604 },
605 {
606 "name": "package",
607 "content": "Orderable/Classes"
608 }
609 ],
610 "long_description_html": ""
611 },
612 "args": 2
613 },
614 {
615 "name": "orderable_get_time_slots_for_zone",
616 "file": "inc/modules/location/zones/class-location-zones.php",
617 "type": "filter",
618 "doc": {
619 "description": "",
620 "long_description": "",
621 "tags": [],
622 "long_description_html": ""
623 },
624 "args": 2
625 },
626 {
627 "name": "orderable_get_unique_categories",
628 "file": "inc/modules/layouts/class-layouts.php",
629 "type": "filter",
630 "doc": {
631 "description": "Get Unique Categories.",
632 "long_description": "",
633 "tags": [
634 {
635 "name": "param",
636 "content": "The Filtered Categories.",
637 "types": [
638 "array"
639 ],
640 "variable": "$unique_categories"
641 },
642 {
643 "name": "param",
644 "content": "The Unfiltered Categories.",
645 "types": [
646 "array"
647 ],
648 "variable": "$categories"
649 },
650 {
651 "name": "param",
652 "content": "Layout Settings.",
653 "types": [
654 "array"
655 ],
656 "variable": "$args"
657 },
658 {
659 "name": "return",
660 "content": "",
661 "types": [
662 "array"
663 ]
664 }
665 ],
666 "long_description_html": ""
667 },
668 "args": 3
669 },
670 {
671 "name": "orderable_has_available_methods",
672 "file": "inc/modules/timings/class-timings-checkout.php",
673 "type": "filter",
674 "doc": {
675 "description": "",
676 "long_description": "",
677 "tags": [],
678 "long_description_html": ""
679 },
680 "args": 1
681 },
682 {
683 "name": "orderable_hidden_categories",
684 "file": "inc/class-settings.php",
685 "type": "filter",
686 "doc": {
687 "description": "",
688 "long_description": "",
689 "tags": [],
690 "long_description_html": ""
691 },
692 "args": 1
693 },
694 {
695 "name": "orderable_hidden_categories",
696 "file": "inc/class-settings.php",
697 "type": "filter",
698 "doc": {
699 "description": "",
700 "long_description": "",
701 "tags": [],
702 "long_description_html": ""
703 },
704 "args": 1
705 },
706 {
707 "name": "orderable_hidden_categories",
708 "file": "inc/class-settings.php",
709 "type": "filter",
710 "doc": {
711 "description": "",
712 "long_description": "",
713 "tags": [],
714 "long_description_html": ""
715 },
716 "args": 1
717 },
718 {
719 "name": "orderable_is_settings_page",
720 "file": "inc/class-settings.php",
721 "type": "filter",
722 "doc": {
723 "description": "",
724 "long_description": "",
725 "tags": [],
726 "long_description_html": ""
727 },
728 "args": 1
729 },
730 {
731 "name": "orderable_layout_defaults",
732 "file": "inc/modules/layouts/class-layouts.php",
733 "type": "filter",
734 "doc": {
735 "description": "",
736 "long_description": "",
737 "tags": [],
738 "long_description_html": ""
739 },
740 "args": 2
741 },
742 {
743 "name": "orderable_layout_settings",
744 "file": "inc/modules/layouts/class-layouts.php",
745 "type": "filter",
746 "doc": {
747 "description": "",
748 "long_description": "",
749 "tags": [],
750 "long_description_html": ""
751 },
752 "args": 3
753 },
754 {
755 "name": "orderable_layout_settings_save_data",
756 "file": "inc/modules/layouts/class-layouts.php",
757 "type": "filter",
758 "doc": {
759 "description": "Filter the layout settings before saving.",
760 "long_description": "",
761 "tags": [
762 {
763 "name": "since",
764 "content": "1.6.0"
765 },
766 {
767 "name": "hook",
768 "content": "orderable_layout_settings_save_data"
769 },
770 {
771 "name": "param",
772 "content": "The product layout settings.",
773 "types": [
774 "array"
775 ],
776 "variable": "$layout_settings"
777 },
778 {
779 "name": "return",
780 "content": "New value",
781 "types": [
782 "array"
783 ]
784 }
785 ],
786 "long_description_html": ""
787 },
788 "args": 1
789 },
790 {
791 "name": "orderable_layout_settings_string",
792 "file": "inc/modules/layouts/class-layouts.php",
793 "type": "filter",
794 "doc": {
795 "description": "",
796 "long_description": "",
797 "tags": [],
798 "long_description_html": ""
799 },
800 "args": 1
801 },
802 {
803 "name": "orderable_layout_{$field_name}_field",
804 "file": "inc/modules/layouts/class-layouts.php",
805 "type": "filter",
806 "doc": {
807 "description": "Filter the layout field.",
808 "long_description": "The dynamic portion of the hook name, `$field_name`, refers to the field name e.g. `sort`, `max-orders`, etc.",
809 "tags": [
810 {
811 "name": "since",
812 "content": "1.10.0"
813 },
814 {
815 "name": "hook",
816 "content": "filter_hook"
817 },
818 {
819 "name": "param",
820 "content": "The html markup.",
821 "types": [
822 "string"
823 ],
824 "variable": "$html"
825 },
826 {
827 "name": "param",
828 "content": "The layout settings.",
829 "types": [
830 "array"
831 ],
832 "variable": "$layout_settings"
833 },
834 {
835 "name": "return",
836 "content": "New value",
837 "types": [
838 "string"
839 ]
840 }
841 ],
842 "long_description_html": "<p>The dynamic portion of the hook name, <code>$field_name</code>, refers to the field name e.g. <code>sort</code>, <code>max-orders</code>, etc.</p>"
843 },
844 "args": 2
845 },
846 {
847 "name": "orderable_location_allowed_pages_to_load_assets",
848 "file": "inc/modules/location/admin/class-location-admin.php",
849 "type": "filter",
850 "doc": {
851 "description": "Filter the pages allowed to load the location assets.",
852 "long_description": "",
853 "tags": [
854 {
855 "name": "since",
856 "content": "1.18.0"
857 },
858 {
859 "name": "hook",
860 "content": "orderable_location_allowed_pages_to_load_assets"
861 },
862 {
863 "name": "param",
864 "content": "The allowed pages.",
865 "types": [
866 "array"
867 ],
868 "variable": "$allowed_pages"
869 },
870 {
871 "name": "param",
872 "content": "The type of asset:<code>styles</code> or <code>scripts</code>.",
873 "types": [
874 "string"
875 ],
876 "variable": "$asset_type"
877 },
878 {
879 "name": "param",
880 "content": "The ID of screen.",
881 "types": [
882 "string"
883 ],
884 "variable": "$current_screen_id"
885 },
886 {
887 "name": "return",
888 "content": "New value",
889 "types": [
890 "array"
891 ]
892 }
893 ],
894 "long_description_html": ""
895 },
896 "args": 3
897 },
898 {
899 "name": "orderable_location_get_default_open_hours",
900 "file": "inc/modules/location/class-location.php",
901 "type": "filter",
902 "doc": {
903 "description": "Since we intercept the `Orderable_Settings::get_setting()` function to keep compatible with Location feature, we need to check it to avoid hitting the database early.",
904 "long_description": "",
905 "tags": [],
906 "long_description_html": ""
907 },
908 "args": 1
909 },
910 {
911 "name": "orderable_location_get_save_data",
912 "file": "inc/modules/location/admin/class-location-admin.php",
913 "type": "filter",
914 "doc": {
915 "description": "Filter the location data to be saved.",
916 "long_description": "",
917 "tags": [
918 {
919 "name": "since",
920 "content": "1.8.0"
921 },
922 {
923 "name": "hook",
924 "content": "orderable_location_get_save_data"
925 },
926 {
927 "name": "param",
928 "content": "The data to be saved.",
929 "types": [
930 "array"
931 ],
932 "variable": "$data"
933 },
934 {
935 "name": "return",
936 "content": "New value",
937 "types": [
938 "array"
939 ]
940 }
941 ],
942 "long_description_html": ""
943 },
944 "args": 1
945 },
946 {
947 "name": "orderable_location_get_selected_location",
948 "file": "inc/modules/location/class-location.php",
949 "type": "filter",
950 "doc": {
951 "description": "Filter the selected location.",
952 "long_description": "",
953 "tags": [
954 {
955 "name": "since",
956 "content": "1.8.0"
957 },
958 {
959 "name": "hook",
960 "content": "orderable_location_get_selected_location"
961 },
962 {
963 "name": "param",
964 "content": "The location object.",
965 "types": [
966 "\\Orderable_Location",
967 "false"
968 ],
969 "variable": "$location"
970 }
971 ],
972 "long_description_html": ""
973 },
974 "args": 1
975 },
976 {
977 "name": "orderable_location_get_selected_location_id",
978 "file": "inc/modules/location/class-location.php",
979 "type": "filter",
980 "doc": {
981 "description": "Filter the selected location ID.",
982 "long_description": "",
983 "tags": [
984 {
985 "name": "since",
986 "content": "1.8.0"
987 },
988 {
989 "name": "hook",
990 "content": "orderable_location_get_selected_location_id"
991 },
992 {
993 "name": "param",
994 "content": "The location ID.",
995 "types": [
996 "int",
997 "false"
998 ],
999 "variable": "$location_id"
1000 }
1001 ],
1002 "long_description_html": ""
1003 },
1004 "args": 1
1005 },
1006 {
1007 "name": "orderable_location_lead_time_period_field_options",
1008 "file": "inc/modules/location/admin/meta-boxes/class-location-order-options-meta-box.php",
1009 "type": "filter",
1010 "doc": {
1011 "description": "Filter the options for the Lead Time Period select field.",
1012 "long_description": "",
1013 "tags": [
1014 {
1015 "name": "since",
1016 "content": "1.18.0"
1017 },
1018 {
1019 "name": "hook",
1020 "content": "orderable_location_lead_time_period_field_options"
1021 },
1022 {
1023 "name": "param",
1024 "content": "The Lead Time Period field options.",
1025 "types": [
1026 "array"
1027 ],
1028 "variable": "$options"
1029 },
1030 {
1031 "name": "return",
1032 "content": "New value",
1033 "types": [
1034 "array"
1035 ]
1036 }
1037 ],
1038 "long_description_html": ""
1039 },
1040 "args": 1
1041 },
1042 {
1043 "name": "orderable_location_open_hours_override_description",
1044 "file": "inc/modules/location/admin/meta-boxes/class-location-open-hours-meta-box.php",
1045 "type": "filter",
1046 "doc": {
1047 "description": "Filter the override open hours description.",
1048 "long_description": "",
1049 "tags": [
1050 {
1051 "name": "since",
1052 "content": "1.18.0"
1053 }
1054 ],
1055 "long_description_html": ""
1056 },
1057 "args": 1
1058 },
1059 {
1060 "name": "orderable_loyalty_rewards_product_message",
1061 "file": "inc/integrations/woocommerce-points-and-rewards/class-integration-woocommerce-points-and-rewards.php",
1062 "type": "filter",
1063 "doc": {
1064 "description": "",
1065 "long_description": "",
1066 "tags": [],
1067 "long_description_html": ""
1068 },
1069 "args": 3
1070 },
1071 {
1072 "name": "orderable_loyalty_rewards_product_message",
1073 "file": "inc/integrations/woocommerce-points-and-rewards/class-integration-woocommerce-points-and-rewards.php",
1074 "type": "filter",
1075 "doc": {
1076 "description": "",
1077 "long_description": "",
1078 "tags": [],
1079 "long_description_html": ""
1080 },
1081 "args": 3
1082 },
1083 {
1084 "name": "orderable_loyalty_rewards_product_message",
1085 "file": "inc/integrations/woocommerce-points-and-rewards/class-integration-woocommerce-points-and-rewards.php",
1086 "type": "filter",
1087 "doc": {
1088 "description": "Filter description.",
1089 "long_description": "",
1090 "tags": [
1091 {
1092 "name": "since",
1093 "content": "1.11.0"
1094 },
1095 {
1096 "name": "hook",
1097 "content": "orderable_loyalty_rewards_product_message"
1098 },
1099 {
1100 "name": "param",
1101 "content": "The product message.",
1102 "types": [
1103 "string"
1104 ],
1105 "variable": "$message"
1106 },
1107 {
1108 "name": "param",
1109 "content": "The product points.",
1110 "types": [
1111 "int"
1112 ],
1113 "variable": "$points"
1114 },
1115 {
1116 "name": "param",
1117 "content": "The product.",
1118 "types": [
1119 "\\WC_Product",
1120 "mixed"
1121 ],
1122 "variable": "$product"
1123 },
1124 {
1125 "name": "return",
1126 "content": "New value",
1127 "types": [
1128 "string"
1129 ]
1130 }
1131 ],
1132 "long_description_html": ""
1133 },
1134 "args": 3
1135 },
1136 {
1137 "name": "orderable_loyalty_rewards_product_points",
1138 "file": "inc/integrations/woocommerce-points-and-rewards/class-integration-woocommerce-points-and-rewards.php",
1139 "type": "filter",
1140 "doc": {
1141 "description": "Integration with WooCommerce Points and Rewards plugin.",
1142 "long_description": "",
1143 "tags": [
1144 {
1145 "name": "see",
1146 "content": "",
1147 "refers": "https://woocommerce.com/products/woocommerce-points-and-rewards/"
1148 },
1149 {
1150 "name": "package",
1151 "content": "Orderable/Classes"
1152 }
1153 ],
1154 "long_description_html": ""
1155 },
1156 "args": 2
1157 },
1158 {
1159 "name": "orderable_loyalty_rewards_product_points",
1160 "file": "inc/integrations/woocommerce-points-and-rewards/class-integration-woocommerce-points-and-rewards.php",
1161 "type": "filter",
1162 "doc": {
1163 "description": "",
1164 "long_description": "",
1165 "tags": [],
1166 "long_description_html": ""
1167 },
1168 "args": 2
1169 },
1170 {
1171 "name": "orderable_loyalty_rewards_product_points",
1172 "file": "inc/integrations/woocommerce-points-and-rewards/class-integration-woocommerce-points-and-rewards.php",
1173 "type": "filter",
1174 "doc": {
1175 "description": "",
1176 "long_description": "",
1177 "tags": [],
1178 "long_description_html": ""
1179 },
1180 "args": 2
1181 },
1182 {
1183 "name": "orderable_loyalty_rewards_product_points",
1184 "file": "inc/integrations/woocommerce-points-and-rewards/class-integration-woocommerce-points-and-rewards.php",
1185 "type": "filter",
1186 "doc": {
1187 "description": "Filter the product points that can be earned when purchasing the product.",
1188 "long_description": "",
1189 "tags": [
1190 {
1191 "name": "since",
1192 "content": "1.11.0"
1193 },
1194 {
1195 "name": "hook",
1196 "content": "orderable_loyalty_rewards_product_points"
1197 },
1198 {
1199 "name": "param",
1200 "content": "The product points.",
1201 "types": [
1202 "int"
1203 ],
1204 "variable": "$points"
1205 },
1206 {
1207 "name": "param",
1208 "content": "The product.",
1209 "types": [
1210 "\\WC_Product",
1211 "mixed"
1212 ],
1213 "variable": "$product"
1214 },
1215 {
1216 "name": "return",
1217 "content": "New value",
1218 "types": [
1219 "int"
1220 ]
1221 }
1222 ],
1223 "long_description_html": ""
1224 },
1225 "args": 2
1226 },
1227 {
1228 "name": "orderable_main_class",
1229 "file": "inc/modules/layouts/templates/main.php",
1230 "type": "filter",
1231 "doc": {
1232 "description": "Layout: Main layout.",
1233 "long_description": "This template can be overridden by copying it to yourtheme/orderable/layouts/main.php\n HOWEVER, on occasion Orderable will need to update template files and you (the theme developer) will need to copy the new files to your theme to maintain compatibility. We try to do this as little as possible, but it does happen. When this occurs the version of the template file will be bumped and the readme will list any important changes.",
1234 "tags": [
1235 {
1236 "name": "package",
1237 "content": "Orderable/Templates"
1238 },
1239 {
1240 "name": "var",
1241 "content": "Array of products, sorted by category.",
1242 "types": [
1243 "array"
1244 ],
1245 "variable": "$products"
1246 },
1247 {
1248 "name": "var",
1249 "content": "Array of shortcode args.",
1250 "types": [
1251 "array"
1252 ],
1253 "variable": "$args"
1254 }
1255 ],
1256 "long_description_html": "<p>This template can be overridden by copying it to yourtheme/orderable/layouts/main.php</p> <p>HOWEVER, on occasion Orderable will need to update template files and you (the theme developer) will need to copy the new files to your theme to maintain compatibility. We try to do this as little as possible, but it does happen. When this occurs the version of the template file will be bumped and the readme will list any important changes.</p>"
1257 },
1258 "args": 2
1259 },
1260 {
1261 "name": "orderable_onboarding_slides",
1262 "file": "inc/class-settings.php",
1263 "type": "filter",
1264 "doc": {
1265 "description": "",
1266 "long_description": "",
1267 "tags": [],
1268 "long_description_html": ""
1269 },
1270 "args": 1
1271 },
1272 {
1273 "name": "orderable_order_meta_fields_block_metadata",
1274 "file": "inc/modules/receipt-layouts/blocks/order-meta-fields/build/render.php",
1275 "type": "filter",
1276 "doc": {
1277 "description": "Filter metadata to be used in the Order Meta Fields block.",
1278 "long_description": "",
1279 "tags": [
1280 {
1281 "name": "since",
1282 "content": "1.8.0"
1283 },
1284 {
1285 "name": "hook",
1286 "content": "orderable_order_meta_fields_block_metadata"
1287 },
1288 {
1289 "name": "param",
1290 "content": "The order metadata.",
1291 "types": [
1292 "array"
1293 ],
1294 "variable": "$metadata"
1295 },
1296 {
1297 "name": "param",
1298 "content": "The order object.",
1299 "types": [
1300 "\\WC_Order"
1301 ],
1302 "variable": "$order"
1303 },
1304 {
1305 "name": "param",
1306 "content": "Fields to include.",
1307 "types": [
1308 "array"
1309 ],
1310 "variable": "$fields_to_include"
1311 },
1312 {
1313 "name": "param",
1314 "content": "Fields to exclude.",
1315 "types": [
1316 "array"
1317 ],
1318 "variable": "$fields_to_exclude"
1319 }
1320 ],
1321 "long_description_html": ""
1322 },
1323 "args": 4
1324 },
1325 {
1326 "name": "orderable_order_meta_fields_block_metadata",
1327 "file": "inc/modules/receipt-layouts/blocks/order-meta-fields/src/render.php",
1328 "type": "filter",
1329 "doc": {
1330 "description": "Filter metadata to be used in the Order Meta Fields block.",
1331 "long_description": "",
1332 "tags": [
1333 {
1334 "name": "since",
1335 "content": "1.8.0"
1336 },
1337 {
1338 "name": "hook",
1339 "content": "orderable_order_meta_fields_block_metadata"
1340 },
1341 {
1342 "name": "param",
1343 "content": "The order metadata.",
1344 "types": [
1345 "array"
1346 ],
1347 "variable": "$metadata"
1348 },
1349 {
1350 "name": "param",
1351 "content": "The order object.",
1352 "types": [
1353 "\\WC_Order"
1354 ],
1355 "variable": "$order"
1356 },
1357 {
1358 "name": "param",
1359 "content": "Fields to include.",
1360 "types": [
1361 "array"
1362 ],
1363 "variable": "$fields_to_include"
1364 },
1365 {
1366 "name": "param",
1367 "content": "Fields to exclude.",
1368 "types": [
1369 "array"
1370 ],
1371 "variable": "$fields_to_exclude"
1372 }
1373 ],
1374 "long_description_html": ""
1375 },
1376 "args": 4
1377 },
1378 {
1379 "name": "orderable_order_reminders_get_orders_query_args",
1380 "file": "inc/modules/order-reminders/class-order-reminders.php",
1381 "type": "filter",
1382 "doc": {
1383 "description": "Filter the query args to retrieve the orders to send the reminder.",
1384 "long_description": "",
1385 "tags": [
1386 {
1387 "name": "since",
1388 "content": "1.14.0"
1389 },
1390 {
1391 "name": "hook",
1392 "content": "orderable_order_reminders_get_orders_query_args"
1393 },
1394 {
1395 "name": "param",
1396 "content": "The query args to retrieve the orders to send the reminder.",
1397 "types": [
1398 "array"
1399 ],
1400 "variable": "$query_args"
1401 },
1402 {
1403 "name": "param",
1404 "content": "The Order Reminders args.",
1405 "types": [
1406 "array"
1407 ],
1408 "variable": "$order_reminders_args"
1409 },
1410 {
1411 "name": "return",
1412 "content": "New value",
1413 "types": [
1414 "array"
1415 ]
1416 }
1417 ],
1418 "long_description_html": ""
1419 },
1420 "args": 2
1421 },
1422 {
1423 "name": "orderable_order_reminders_skip_sending_email",
1424 "file": "inc/modules/order-reminders/class-order-reminders.php",
1425 "type": "filter",
1426 "doc": {
1427 "description": "Filter whether order reminder emails should be skipped. Default: false.",
1428 "long_description": "",
1429 "tags": [
1430 {
1431 "name": "since",
1432 "content": "1.14.0"
1433 },
1434 {
1435 "name": "hook",
1436 "content": "orderable_order_reminders_skip_sending_email"
1437 },
1438 {
1439 "name": "param",
1440 "content": "The value to skip or not. Default: false.",
1441 "types": [
1442 "bool"
1443 ],
1444 "variable": "$value"
1445 },
1446 {
1447 "name": "param",
1448 "content": "The order object.",
1449 "types": [
1450 "\\WC_Order"
1451 ],
1452 "variable": "$order"
1453 },
1454 {
1455 "name": "return",
1456 "content": "New value",
1457 "types": [
1458 "bool"
1459 ]
1460 }
1461 ],
1462 "long_description_html": ""
1463 },
1464 "args": 2
1465 },
1466 {
1467 "name": "orderable_pointers",
1468 "file": "inc/class-settings.php",
1469 "type": "filter",
1470 "doc": {
1471 "description": "",
1472 "long_description": "",
1473 "tags": [],
1474 "long_description_html": ""
1475 },
1476 "args": 1
1477 },
1478 {
1479 "name": "orderable_product_counter_html",
1480 "file": "inc/class-products.php",
1481 "type": "filter",
1482 "doc": {
1483 "description": "Filter the product counter HTML markup.",
1484 "long_description": "",
1485 "tags": [
1486 {
1487 "name": "param",
1488 "content": "The HTML markup.",
1489 "types": [
1490 "string"
1491 ],
1492 "variable": "$html_markup"
1493 },
1494 {
1495 "name": "return",
1496 "content": "New value.",
1497 "types": [
1498 "string"
1499 ]
1500 },
1501 {
1502 "name": "since",
1503 "content": "1.7.0"
1504 },
1505 {
1506 "name": "hook",
1507 "content": "orderable_product_counter_html"
1508 }
1509 ],
1510 "long_description_html": ""
1511 },
1512 "args": 1
1513 },
1514 {
1515 "name": "orderable_product_hero_image_size",
1516 "file": "templates/product/hero.php",
1517 "type": "filter",
1518 "doc": {
1519 "description": "Allow product hero image size to be updated.",
1520 "long_description": "",
1521 "tags": [
1522 {
1523 "name": "param",
1524 "content": "Product.",
1525 "types": [
1526 "\\WC_Product"
1527 ],
1528 "variable": "$product"
1529 },
1530 {
1531 "name": "param",
1532 "content": "Argumentss passed to the Layout shortcode.",
1533 "types": [
1534 "array"
1535 ],
1536 "variable": "$args"
1537 },
1538 {
1539 "name": "since",
1540 "content": "1.6.0"
1541 }
1542 ],
1543 "long_description_html": ""
1544 },
1545 "args": 3
1546 },
1547 {
1548 "name": "orderable_product_points_message",
1549 "file": "inc/integrations/woocommerce-points-and-rewards/class-integration-woocommerce-points-and-rewards.php",
1550 "type": "filter",
1551 "doc": {
1552 "description": "Filter the product points message.",
1553 "long_description": "",
1554 "tags": [
1555 {
1556 "name": "since",
1557 "content": "1.11.0"
1558 },
1559 {
1560 "name": "hook",
1561 "content": "orderable_product_points_message"
1562 },
1563 {
1564 "name": "param",
1565 "content": "The product points message.",
1566 "types": [
1567 "string"
1568 ],
1569 "variable": "$product_points_message"
1570 },
1571 {
1572 "name": "param",
1573 "content": "The product points.",
1574 "types": [
1575 "int"
1576 ],
1577 "variable": "$points"
1578 },
1579 {
1580 "name": "param",
1581 "content": "The product.",
1582 "types": [
1583 "\\WC_Product"
1584 ],
1585 "variable": "$product"
1586 },
1587 {
1588 "name": "return",
1589 "content": "New value",
1590 "types": [
1591 "string"
1592 ]
1593 }
1594 ],
1595 "long_description_html": ""
1596 },
1597 "args": 3
1598 },
1599 {
1600 "name": "orderable_service_labels",
1601 "file": "inc/modules/services/class-services.php",
1602 "type": "filter",
1603 "doc": {
1604 "description": "Module: Services.",
1605 "long_description": "Delivery/pickup services.",
1606 "tags": [
1607 {
1608 "name": "package",
1609 "content": "Orderable/Classes"
1610 }
1611 ],
1612 "long_description_html": "<p>Delivery/pickup services.</p>"
1613 },
1614 "args": 1
1615 },
1616 {
1617 "name": "orderable_service_type_column_background_color",
1618 "file": "inc/modules/services/class-services-order.php",
1619 "type": "filter",
1620 "doc": {
1621 "description": "",
1622 "long_description": "",
1623 "tags": [],
1624 "long_description_html": ""
1625 },
1626 "args": 5
1627 },
1628 {
1629 "name": "orderable_service_type_column_text_color",
1630 "file": "inc/modules/services/class-services-order.php",
1631 "type": "filter",
1632 "doc": {
1633 "description": "",
1634 "long_description": "",
1635 "tags": [],
1636 "long_description_html": ""
1637 },
1638 "args": 5
1639 },
1640 {
1641 "name": "orderable_services_filter_options",
1642 "file": "inc/modules/services/class-services-order.php",
1643 "type": "filter",
1644 "doc": {
1645 "description": "Filter the services filter options.",
1646 "long_description": "",
1647 "tags": [
1648 {
1649 "name": "since",
1650 "content": "1.14.0"
1651 },
1652 {
1653 "name": "hook",
1654 "content": "orderable_services_filter_options"
1655 },
1656 {
1657 "name": "param",
1658 "content": "The options.",
1659 "types": [
1660 "array"
1661 ],
1662 "variable": "$options"
1663 },
1664 {
1665 "name": "param",
1666 "content": "The filtered service.",
1667 "types": [
1668 "string"
1669 ],
1670 "variable": "$filtered_service"
1671 },
1672 {
1673 "name": "return",
1674 "content": "New value",
1675 "types": [
1676 "array"
1677 ]
1678 }
1679 ],
1680 "long_description_html": ""
1681 },
1682 "args": 2
1683 },
1684 {
1685 "name": "orderable_settings",
1686 "file": "inc/class-settings.php",
1687 "type": "filter",
1688 "doc": {
1689 "description": "Filter the orderable settings.",
1690 "long_description": "",
1691 "tags": [
1692 {
1693 "name": "since",
1694 "content": "1.8.0"
1695 },
1696 {
1697 "name": "hook",
1698 "content": "orderable_settings"
1699 },
1700 {
1701 "name": "param",
1702 "content": "The orderable settings.",
1703 "types": [
1704 "false",
1705 "array"
1706 ],
1707 "variable": "$settings"
1708 },
1709 {
1710 "name": "param",
1711 "content": "The setting name to be retrieved.",
1712 "types": [
1713 "string"
1714 ],
1715 "variable": "$setting_name"
1716 },
1717 {
1718 "name": "return",
1719 "content": "New value",
1720 "types": [
1721 "false",
1722 "array"
1723 ]
1724 }
1725 ],
1726 "long_description_html": ""
1727 },
1728 "args": 2
1729 },
1730 {
1731 "name": "orderable_short_description",
1732 "file": "templates/product/card-content.php",
1733 "type": "filter",
1734 "doc": {
1735 "description": "Filter the product short description to show in the card.",
1736 "long_description": "",
1737 "tags": [
1738 {
1739 "name": "since",
1740 "content": "1.1.0"
1741 },
1742 {
1743 "name": "hook",
1744 "content": "orderable_short_description"
1745 },
1746 {
1747 "name": "param",
1748 "content": "The product short description.",
1749 "types": [
1750 "string"
1751 ],
1752 "variable": "$short_description"
1753 },
1754 {
1755 "name": "param",
1756 "content": "The product.",
1757 "types": [
1758 "\\WC_Product"
1759 ],
1760 "variable": "$product"
1761 },
1762 {
1763 "name": "return",
1764 "content": "New value",
1765 "types": [
1766 "string"
1767 ]
1768 }
1769 ],
1770 "long_description_html": ""
1771 },
1772 "args": 2
1773 },
1774 {
1775 "name": "orderable_shortcode_args",
1776 "file": "inc/modules/layouts/class-layouts.php",
1777 "type": "filter",
1778 "doc": {
1779 "description": "",
1780 "long_description": "",
1781 "tags": [],
1782 "long_description_html": ""
1783 },
1784 "args": 3
1785 },
1786 {
1787 "name": "orderable_skip_migrate_main_location_data_to_custom_table",
1788 "file": "inc/database/tables/class-location-locations-table.php",
1789 "type": "filter",
1790 "doc": {
1791 "description": "Filter whether we should skip the migration of the main location data from `orderable_settings` to the orderable custom table.",
1792 "long_description": "By default, we don't migrate if the custom table already has the main location data.",
1793 "tags": [
1794 {
1795 "name": "since",
1796 "content": "1.8.0"
1797 },
1798 {
1799 "name": "hook",
1800 "content": "orderable_skip_migrate_main_location_data_to_custom_table"
1801 },
1802 {
1803 "name": "param",
1804 "content": "If we should migrate.",
1805 "types": [
1806 "bool"
1807 ],
1808 "variable": "$skip_migration"
1809 },
1810 {
1811 "name": "return",
1812 "content": "New value",
1813 "types": [
1814 "bool"
1815 ]
1816 }
1817 ],
1818 "long_description_html": "<p>By default, we don't migrate if the custom table already has the main location data.</p>"
1819 },
1820 "args": 1
1821 },
1822 {
1823 "name": "orderable_skip_migrate_main_location_time_slots_data_to_custom_table",
1824 "file": "inc/database/tables/class-location-time-slots-table.php",
1825 "type": "filter",
1826 "doc": {
1827 "description": "Filter whether we should skip the migration of the main location time slots data from `orderable_settings` to the orderable custom table.",
1828 "long_description": "By default, we don't migrate if the custom table already has the main location time slots data.",
1829 "tags": [
1830 {
1831 "name": "since",
1832 "content": "1.8.0"
1833 },
1834 {
1835 "name": "hook",
1836 "content": "orderable_skip_migrate_main_location_time_slots_data_to_custom_table"
1837 },
1838 {
1839 "name": "param",
1840 "content": "If we should migrate.",
1841 "types": [
1842 "bool"
1843 ],
1844 "variable": "$skip_migration"
1845 },
1846 {
1847 "name": "return",
1848 "content": "New value",
1849 "types": [
1850 "bool"
1851 ]
1852 }
1853 ],
1854 "long_description_html": "<p>By default, we don't migrate if the custom table already has the main location time slots data.</p>"
1855 },
1856 "args": 1
1857 },
1858 {
1859 "name": "orderable_styles",
1860 "file": "inc/class-assets.php",
1861 "type": "filter",
1862 "doc": {
1863 "description": "",
1864 "long_description": "",
1865 "tags": [],
1866 "long_description_html": ""
1867 },
1868 "args": 1
1869 },
1870 {
1871 "name": "orderable_update_cart_item_button_args",
1872 "file": "inc/class-products.php",
1873 "type": "filter",
1874 "doc": {
1875 "description": "Filter arguments used to the update cart item button.",
1876 "long_description": "",
1877 "tags": [
1878 {
1879 "name": "param",
1880 "content": "The arguments.",
1881 "types": [
1882 "array"
1883 ],
1884 "variable": "$args"
1885 },
1886 {
1887 "name": "param",
1888 "content": "The cart item key.",
1889 "types": [
1890 "string"
1891 ],
1892 "variable": "$cart_item_key"
1893 },
1894 {
1895 "name": "return",
1896 "content": "New arguments",
1897 "types": [
1898 "array"
1899 ]
1900 },
1901 {
1902 "name": "since",
1903 "content": "1.4.0"
1904 },
1905 {
1906 "name": "hook",
1907 "content": "orderable_update_cart_item_button_args"
1908 }
1909 ],
1910 "long_description_html": ""
1911 },
1912 "args": 2
1913 },
1914 {
1915 "name": "orderable_update_cart_item_button_html",
1916 "file": "inc/class-products.php",
1917 "type": "filter",
1918 "doc": {
1919 "description": "Filter the Update Cart Item button HTML.",
1920 "long_description": "",
1921 "tags": [
1922 {
1923 "name": "param",
1924 "content": "The Update Cart Item button HTML.",
1925 "types": [
1926 "string",
1927 "false"
1928 ],
1929 "variable": "$update_cart_item_button_html"
1930 },
1931 {
1932 "name": "return",
1933 "content": "New HTML",
1934 "types": [
1935 "string",
1936 "false"
1937 ]
1938 },
1939 {
1940 "name": "since",
1941 "content": "1.4.0"
1942 },
1943 {
1944 "name": "hook",
1945 "content": "orderable_update_cart_item_button_html"
1946 }
1947 ],
1948 "long_description_html": ""
1949 },
1950 "args": 1
1951 },
1952 {
1953 "name": "orderable_valid_admin_pages",
1954 "file": "inc/class-settings.php",
1955 "type": "filter",
1956 "doc": {
1957 "description": "",
1958 "long_description": "",
1959 "tags": [],
1960 "long_description_html": ""
1961 },
1962 "args": 1
1963 },
1964 {
1965 "name": "orderable_variable_types",
1966 "file": "inc/class-helpers.php",
1967 "type": "filter",
1968 "doc": {
1969 "description": "Filter the variable types used by the is_variable_product function.",
1970 "long_description": "",
1971 "tags": [
1972 {
1973 "name": "param",
1974 "content": "The variable types.",
1975 "types": [
1976 "array"
1977 ],
1978 "variable": "$variable_types"
1979 },
1980 {
1981 "name": "return",
1982 "content": "New variable types.",
1983 "types": [
1984 "array"
1985 ]
1986 },
1987 {
1988 "name": "since",
1989 "content": "1.4.0"
1990 },
1991 {
1992 "name": "hook",
1993 "content": "orderable_variable_types"
1994 }
1995 ],
1996 "long_description_html": ""
1997 },
1998 "args": 1
1999 },
2000 {
2001 "name": "orderable_variation_types",
2002 "file": "inc/class-helpers.php",
2003 "type": "filter",
2004 "doc": {
2005 "description": "Filter the variable types used by the is_variable_product function.",
2006 "long_description": "",
2007 "tags": [
2008 {
2009 "name": "param",
2010 "content": "The variable types.",
2011 "types": [
2012 "array"
2013 ],
2014 "variable": "$variation_types"
2015 },
2016 {
2017 "name": "return",
2018 "content": "New variation types.",
2019 "types": [
2020 "array"
2021 ]
2022 },
2023 {
2024 "name": "since",
2025 "content": "1.4.0"
2026 },
2027 {
2028 "name": "hook",
2029 "content": "orderable_variation_types"
2030 }
2031 ],
2032 "long_description_html": ""
2033 },
2034 "args": 1
2035 },
2036 {
2037 "name": "the_content",
2038 "file": "inc/class-products.php",
2039 "type": "filter",
2040 "doc": {
2041 "description": "",
2042 "long_description": "",
2043 "tags": [],
2044 "long_description_html": ""
2045 },
2046 "args": 1
2047 },
2048 {
2049 "name": "woocommerce_add_to_cart_validation",
2050 "file": "inc/class-ajax.php",
2051 "type": "filter",
2052 "doc": {
2053 "description": "Fill the value of the fields.",
2054 "long_description": "",
2055 "tags": [
2056 {
2057 "name": "param",
2058 "content": "The field group data.",
2059 "types": [
2060 "array"
2061 ],
2062 "variable": "$field_group"
2063 },
2064 {
2065 "name": "return",
2066 "content": "",
2067 "types": [
2068 "array"
2069 ]
2070 }
2071 ],
2072 "long_description_html": ""
2073 },
2074 "args": 3
2075 },
2076 {
2077 "name": "woocommerce_cart_item_name",
2078 "file": "woocommerce/cart/mini-cart.php",
2079 "type": "filter",
2080 "doc": {
2081 "description": "",
2082 "long_description": "",
2083 "tags": [],
2084 "long_description_html": ""
2085 },
2086 "args": 3
2087 },
2088 {
2089 "name": "woocommerce_cart_item_permalink",
2090 "file": "woocommerce/cart/mini-cart.php",
2091 "type": "filter",
2092 "doc": {
2093 "description": "",
2094 "long_description": "",
2095 "tags": [],
2096 "long_description_html": ""
2097 },
2098 "args": 3
2099 },
2100 {
2101 "name": "woocommerce_cart_item_price",
2102 "file": "woocommerce/cart/mini-cart.php",
2103 "type": "filter",
2104 "doc": {
2105 "description": "",
2106 "long_description": "",
2107 "tags": [],
2108 "long_description_html": ""
2109 },
2110 "args": 3
2111 },
2112 {
2113 "name": "woocommerce_cart_item_product",
2114 "file": "woocommerce/cart/mini-cart.php",
2115 "type": "filter",
2116 "doc": {
2117 "description": "",
2118 "long_description": "",
2119 "tags": [],
2120 "long_description_html": ""
2121 },
2122 "args": 3
2123 },
2124 {
2125 "name": "woocommerce_cart_item_product_id",
2126 "file": "woocommerce/cart/mini-cart.php",
2127 "type": "filter",
2128 "doc": {
2129 "description": "",
2130 "long_description": "",
2131 "tags": [],
2132 "long_description_html": ""
2133 },
2134 "args": 3
2135 },
2136 {
2137 "name": "woocommerce_cart_item_remove_link",
2138 "file": "woocommerce/cart/mini-cart.php",
2139 "type": "filter",
2140 "doc": {
2141 "description": "",
2142 "long_description": "",
2143 "tags": [],
2144 "long_description_html": ""
2145 },
2146 "args": 2
2147 },
2148 {
2149 "name": "woocommerce_cart_item_thumbnail",
2150 "file": "woocommerce/cart/mini-cart.php",
2151 "type": "filter",
2152 "doc": {
2153 "description": "",
2154 "long_description": "",
2155 "tags": [],
2156 "long_description_html": ""
2157 },
2158 "args": 3
2159 },
2160 {
2161 "name": "woocommerce_mini_cart_item_class",
2162 "file": "woocommerce/cart/mini-cart.php",
2163 "type": "filter",
2164 "doc": {
2165 "description": "",
2166 "long_description": "",
2167 "tags": [],
2168 "long_description_html": ""
2169 },
2170 "args": 3
2171 },
2172 {
2173 "name": "woocommerce_widget_cart_item_visible",
2174 "file": "woocommerce/cart/mini-cart.php",
2175 "type": "filter",
2176 "doc": {
2177 "description": "",
2178 "long_description": "",
2179 "tags": [],
2180 "long_description_html": ""
2181 },
2182 "args": 3
2183 }
2184 ]
2185 }