PluginProbe
MLSImport: IDX Plugin & MLS Plugin for Real Estate Listings / 6.0.5
MLSImport: IDX Plugin & MLS Plugin for Real Estate Listings v6.0.5
7.2 7.1.2 7.1.1 7.1 7.0.4 7.0.6 7.0.7 6.3.8 6.3.7 6.3.6 6.3.5 6.3.4 6.3.3 6.3.1 trunk 5.7.3 5.7.5 5.8.1 5.8.2 5.8.3 5.8.4 5.8.6 6.0.4 6.0.5 6.0.7 All 35 releases
mlsimport / includes / help_functions.php

help_functions.php in MLSImport: IDX Plugin & MLS Plugin for Real Estate Listings 6.0.5, at includes/help_functions.php

3,044 lines 70.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5
6
7 function mlsimport_hardocde_theme_schema(){
8 $theme_schema= array(
9 'AboveGradeFinishedArea' => array(
10 'type' => 'meta',
11 'name' => 'abovegradefinishedarea',
12 ),
13 'AboveGradeFinishedAreaSource' => array(
14 'type' => 'meta',
15 'name' => 'abovegradefinishedareasource',
16 ),
17 'AboveGradeFinishedAreaUnits' => array(
18 'type' => 'meta',
19 'name' => 'abovegradefinishedareaunits',
20 ),
21 'AboveGradeUnfinishedArea' => array(
22 'type' => 'meta',
23 'name' => 'abovegradeunfinishedarea',
24 ),
25 'AboveGradeUnfinishedAreaSource' => array(
26 'type' => 'meta',
27 'name' => 'abovegradeunfinishedareasource',
28 ),
29 'AboveGradeUnfinishedAreaUnits' => array(
30 'type' => 'meta',
31 'name' => 'abovegradeunfinishedareaunits',
32 ),
33 'AccessCode' => array(
34 'type' => 'meta',
35 'name' => 'accesscode',
36 ),
37 'AccessibilityFeatures' => array(
38 'type' => 'meta',
39 'name' => 'accessibilityfeatures',
40 ),
41 'ActivationDate' => array(
42 'type' => 'meta',
43 'name' => 'activationdate',
44 ),
45 'AdditionalParcelsDescription' => array(
46 'type' => 'meta',
47 'name' => 'additionalparcelsdescription',
48 ),
49 'AdditionalParcelsYN' => array(
50 'type' => 'taxonomy',
51 'name' => 'property_features',
52 'insert' => 'Has Additional Parcels',
53 ),
54 'AnchorsCoTenants' => array(
55 'type' => 'meta',
56 'name' => 'anchorscotenants',
57 ),
58 'Appliances' => array(
59 'type' => 'taxonomy',
60 'name' => 'property_features',
61 ),
62 'ArchitecturalStyle' => array(
63 'type' => 'meta',
64 'name' => 'architecturalstyle',
65 ),
66 'AssociationAmenities' => array(
67 'type' => 'meta',
68 'name' => 'associationamenities',
69 ),
70 'AssociationFee' => array(
71 'type' => 'meta',
72 'name' => 'associationfee',
73 ),
74 'AssociationFee2' => array(
75 'type' => 'meta',
76 'name' => 'associationfee2',
77 ),
78 'AssociationFee2Frequency' => array(
79 'type' => 'meta',
80 'name' => 'associationfee2frequency',
81 ),
82 'AssociationFeeFrequency' => array(
83 'type' => 'meta',
84 'name' => 'associationfeefrequency',
85 ),
86 'AssociationFeeIncludes' => array(
87 'type' => 'meta',
88 'name' => 'associationfeeincludes',
89 ),
90 'AssociationName' => array(
91 'type' => 'meta',
92 'name' => 'associationname',
93 ),
94 'AssociationName2' => array(
95 'type' => 'meta',
96 'name' => 'associationname2',
97 ),
98 'AssociationPhone' => array(
99 'type' => 'meta',
100 'name' => 'associationphone',
101 ),
102 'AssociationPhone2' => array(
103 'type' => 'meta',
104 'name' => 'associationphone2',
105 ),
106 'AssociationYN' => array(
107 'type' => 'taxonomy',
108 'name' => 'property_features',
109 'insert' => 'Home Owners Association',
110 ),
111 'AttachedGarageYN' => array(
112 'type' => 'taxonomy',
113 'name' => 'property_features',
114 'insert' => 'Garage Attached',
115 ),
116 'AttributionContact' => array(
117 'type' => 'meta',
118 'name' => 'attributioncontact',
119 ),
120 'AvailabilityDate' => array(
121 'type' => 'meta',
122 'name' => 'availabilitydate',
123 ),
124 'AvailableLeaseType' => array(
125 'type' => 'meta',
126 'name' => 'availableleasetype',
127 ),
128 'BackOnMarketDate' => array(
129 'type' => 'meta',
130 'name' => 'backonmarketdate',
131 ),
132 'Basement' => array(
133 'type' => 'meta',
134 'name' => 'basement',
135 ),
136 'BasementYN' => array(
137 'type' => 'taxonomy',
138 'name' => 'property_features',
139 'insert' => 'Has Basement',
140 ),
141 'BathroomsFull' => array(
142 'type' => 'meta',
143 'name' => 'bathroomsfull',
144 ),
145 'BathroomsHalf' => array(
146 'type' => 'meta',
147 'name' => 'bathroomshalf',
148 ),
149 'BathroomsOneQuarter' => array(
150 'type' => 'meta',
151 'name' => 'bathroomsonequarter',
152 ),
153 'BathroomsPartial' => array(
154 'type' => 'meta',
155 'name' => 'bathroomspartial',
156 ),
157 'BathroomsThreeQuarter' => array(
158 'type' => 'meta',
159 'name' => 'bathroomsthreequarter',
160 ),
161 'BathroomsTotalInteger' => array(
162 'type' => 'meta',
163 'name' => 'property_bathrooms',
164 ),
165 'BedroomsPossible' => array(
166 'type' => 'meta',
167 'name' => 'bedroomspossible',
168 ),
169 'BedroomsTotal' => array(
170 'type' => 'meta',
171 'name' => 'property_bedrooms',
172 ),
173 'BelowGradeFinishedArea' => array(
174 'type' => 'meta',
175 'name' => 'belowgradefinishedarea',
176 ),
177 'BelowGradeFinishedAreaSource' => array(
178 'type' => 'meta',
179 'name' => 'belowgradefinishedareasource',
180 ),
181 'BelowGradeFinishedAreaUnits' => array(
182 'type' => 'meta',
183 'name' => 'belowgradefinishedareaunits',
184 ),
185 'BelowGradeUnfinishedArea' => array(
186 'type' => 'meta',
187 'name' => 'belowgradeunfinishedarea',
188 ),
189 'BelowGradeUnfinishedAreaSource' => array(
190 'type' => 'meta',
191 'name' => 'belowgradeunfinishedareasource',
192 ),
193 'BelowGradeUnfinishedAreaUnits' => array(
194 'type' => 'meta',
195 'name' => 'belowgradeunfinishedareaunits',
196 ),
197 'BodyType' => array(
198 'type' => 'meta',
199 'name' => 'bodytype',
200 ),
201 'BuilderModel' => array(
202 'type' => 'meta',
203 'name' => 'buildermodel',
204 ),
205 'BuilderName' => array(
206 'type' => 'meta',
207 'name' => 'buildername',
208 ),
209 'BuildingAreaSource' => array(
210 'type' => 'meta',
211 'name' => 'buildingareasource',
212 ),
213 'BuildingAreaTotal' => array(
214 'type' => 'meta',
215 'name' => 'buildingareatotal',
216 ),
217 'BuildingAreaUnits' => array(
218 'type' => 'meta',
219 'name' => 'buildingareaunits',
220 ),
221 'BuildingFeatures' => array(
222 'type' => 'meta',
223 'name' => 'buildingfeatures',
224 ),
225 'BuildingName' => array(
226 'type' => 'meta',
227 'name' => 'buildingname',
228 ),
229 'BusinessName' => array(
230 'type' => 'meta',
231 'name' => 'businessname',
232 ),
233 'BusinessType' => array(
234 'type' => 'meta',
235 'name' => 'businesstype',
236 ),
237 'BuyerAgent' => array(
238 'type' => 'meta',
239 'name' => 'buyeragent',
240 ),
241 'BuyerAgentAOR' => array(
242 'type' => 'meta',
243 'name' => 'buyeragentaor',
244 ),
245 'BuyerAgentDesignation' => array(
246 'type' => 'meta',
247 'name' => 'buyeragentdesignation',
248 ),
249 'BuyerAgentDirectPhone' => array(
250 'type' => 'meta',
251 'name' => 'buyeragentdirectphone',
252 ),
253 'BuyerAgentEmail' => array(
254 'type' => 'meta',
255 'name' => 'buyeragentemail',
256 ),
257 'BuyerAgentFax' => array(
258 'type' => 'meta',
259 'name' => 'buyeragentfax',
260 ),
261 'BuyerAgentFirstName' => array(
262 'type' => 'meta',
263 'name' => 'buyeragentfirstname',
264 ),
265 'BuyerAgentFullName' => array(
266 'type' => 'meta',
267 'name' => 'buyeragentfullname',
268 ),
269 'BuyerAgentHomePhone' => array(
270 'type' => 'meta',
271 'name' => 'buyeragenthomephone',
272 ),
273 'BuyerAgentKey' => array(
274 'type' => 'meta',
275 'name' => 'buyeragentkey',
276 ),
277 'BuyerAgentLastName' => array(
278 'type' => 'meta',
279 'name' => 'buyeragentlastname',
280 ),
281 'BuyerAgentMiddleName' => array(
282 'type' => 'meta',
283 'name' => 'buyeragentmiddlename',
284 ),
285 'BuyerAgentMlsId' => array(
286 'type' => 'meta',
287 'name' => 'buyeragentmlsid',
288 ),
289 'BuyerAgentMobilePhone' => array(
290 'type' => 'meta',
291 'name' => 'buyeragentmobilephone',
292 ),
293 'BuyerAgentNamePrefix' => array(
294 'type' => 'meta',
295 'name' => 'buyeragentnameprefix',
296 ),
297 'BuyerAgentNameSuffix' => array(
298 'type' => 'meta',
299 'name' => 'buyeragentnamesuffix',
300 ),
301 'BuyerAgentNationalAssociationId' => array(
302 'type' => 'meta',
303 'name' => 'buyeragentnationalassociationid',
304 ),
305 'BuyerAgentOfficePhone' => array(
306 'type' => 'meta',
307 'name' => 'buyeragentofficephone',
308 ),
309 'BuyerAgentOfficePhoneExt' => array(
310 'type' => 'meta',
311 'name' => 'buyeragentofficephoneext',
312 ),
313 'BuyerAgentPager' => array(
314 'type' => 'meta',
315 'name' => 'buyeragentpager',
316 ),
317 'BuyerAgentPreferredPhone' => array(
318 'type' => 'meta',
319 'name' => 'buyeragentpreferredphone',
320 ),
321 'BuyerAgentPreferredPhoneExt' => array(
322 'type' => 'meta',
323 'name' => 'buyeragentpreferredphoneext',
324 ),
325 'BuyerAgentStateLicense' => array(
326 'type' => 'meta',
327 'name' => 'buyeragentstatelicense',
328 ),
329 'BuyerAgentTollFreePhone' => array(
330 'type' => 'meta',
331 'name' => 'buyeragenttollfreephone',
332 ),
333 'BuyerAgentURL' => array(
334 'type' => 'meta',
335 'name' => 'buyeragenturl',
336 ),
337 'BuyerAgentVoiceMail' => array(
338 'type' => 'meta',
339 'name' => 'buyeragentvoicemail',
340 ),
341 'BuyerAgentVoiceMailExt' => array(
342 'type' => 'meta',
343 'name' => 'buyeragentvoicemailext',
344 ),
345 'BuyerBrokerageCompensation' => array(
346 'type' => 'meta',
347 'name' => 'buyerbrokeragecompensation',
348 ),
349 'BuyerBrokerageCompensationType' => array(
350 'type' => 'meta',
351 'name' => 'buyerbrokeragecompensationtype',
352 ),
353 'BuyerFinancing' => array(
354 'type' => 'meta',
355 'name' => 'buyerfinancing',
356 ),
357 'BuyerOffice' => array(
358 'type' => 'meta',
359 'name' => 'buyeroffice',
360 ),
361 'BuyerOfficeAOR' => array(
362 'type' => 'meta',
363 'name' => 'buyerofficeaor',
364 ),
365 'BuyerOfficeEmail' => array(
366 'type' => 'meta',
367 'name' => 'buyerofficeemail',
368 ),
369 'BuyerOfficeFax' => array(
370 'type' => 'meta',
371 'name' => 'buyerofficefax',
372 ),
373 'BuyerOfficeKey' => array(
374 'type' => 'meta',
375 'name' => 'buyerofficekey',
376 ),
377 'BuyerOfficeMlsId' => array(
378 'type' => 'meta',
379 'name' => 'buyerofficemlsid',
380 ),
381 'BuyerOfficeName' => array(
382 'type' => 'meta',
383 'name' => 'buyerofficename',
384 ),
385 'BuyerOfficeNationalAssociationId' => array(
386 'type' => 'meta',
387 'name' => 'buyerofficenationalassociationid',
388 ),
389 'BuyerOfficePhone' => array(
390 'type' => 'meta',
391 'name' => 'buyerofficephone',
392 ),
393 'BuyerOfficePhoneExt' => array(
394 'type' => 'meta',
395 'name' => 'buyerofficephoneext',
396 ),
397 'BuyerOfficeURL' => array(
398 'type' => 'meta',
399 'name' => 'buyerofficeurl',
400 ),
401 'BuyerTeam' => array(
402 'type' => 'meta',
403 'name' => 'buyerteam',
404 ),
405 'BuyerTeamKey' => array(
406 'type' => 'meta',
407 'name' => 'buyerteamkey',
408 ),
409 'BuyerTeamName' => array(
410 'type' => 'meta',
411 'name' => 'buyerteamname',
412 ),
413 'CableTvExpense' => array(
414 'type' => 'meta',
415 'name' => 'cabletvexpense',
416 ),
417 'CancellationDate' => array(
418 'type' => 'meta',
419 'name' => 'cancellationdate',
420 ),
421 'CapRate' => array(
422 'type' => 'meta',
423 'name' => 'caprate',
424 ),
425 'CarportSpaces' => array(
426 'type' => 'meta',
427 'name' => 'carportspaces',
428 ),
429 'CarportYN' => array(
430 'type' => 'taxonomy',
431 'name' => 'property_features',
432 'insert' => 'Has Carport',
433 ),
434 'CarrierRoute' => array(
435 'type' => 'meta',
436 'name' => 'carrierroute',
437 ),
438 'City' => array(
439 'type' => 'taxonomy',
440 'name' => 'property_city',
441 ),
442 'CityRegion' => array(
443 'type' => 'taxonomy',
444 'name' => 'property_area',
445 ),
446 'CloseDate' => array(
447 'type' => 'meta',
448 'name' => 'closedate',
449 ),
450 'ClosePrice' => array(
451 'type' => 'meta',
452 'name' => 'closeprice',
453 ),
454 'CoBuyerAgent' => array(
455 'type' => 'meta',
456 'name' => 'cobuyeragent',
457 ),
458 'CoBuyerAgentAOR' => array(
459 'type' => 'meta',
460 'name' => 'cobuyeragentaor',
461 ),
462 'CoBuyerAgentDesignation' => array(
463 'type' => 'meta',
464 'name' => 'cobuyeragentdesignation',
465 ),
466 'CoBuyerAgentDirectPhone' => array(
467 'type' => 'meta',
468 'name' => 'cobuyeragentdirectphone',
469 ),
470 'CoBuyerAgentEmail' => array(
471 'type' => 'meta',
472 'name' => 'cobuyeragentemail',
473 ),
474 'CoBuyerAgentFax' => array(
475 'type' => 'meta',
476 'name' => 'cobuyeragentfax',
477 ),
478 'CoBuyerAgentFirstName' => array(
479 'type' => 'meta',
480 'name' => 'cobuyeragentfirstname',
481 ),
482 'CoBuyerAgentFullName' => array(
483 'type' => 'meta',
484 'name' => 'cobuyeragentfullname',
485 ),
486 'CoBuyerAgentHomePhone' => array(
487 'type' => 'meta',
488 'name' => 'cobuyeragenthomephone',
489 ),
490 'CoBuyerAgentKey' => array(
491 'type' => 'meta',
492 'name' => 'cobuyeragentkey',
493 ),
494 'CoBuyerAgentLastName' => array(
495 'type' => 'meta',
496 'name' => 'cobuyeragentlastname',
497 ),
498 'CoBuyerAgentMiddleName' => array(
499 'type' => 'meta',
500 'name' => 'cobuyeragentmiddlename',
501 ),
502 'CoBuyerAgentMlsId' => array(
503 'type' => 'meta',
504 'name' => 'cobuyeragentmlsid',
505 ),
506 'CoBuyerAgentMobilePhone' => array(
507 'type' => 'meta',
508 'name' => 'cobuyeragentmobilephone',
509 ),
510 'CoBuyerAgentNamePrefix' => array(
511 'type' => 'meta',
512 'name' => 'cobuyeragentnameprefix',
513 ),
514 'CoBuyerAgentNameSuffix' => array(
515 'type' => 'meta',
516 'name' => 'cobuyeragentnamesuffix',
517 ),
518 'CoBuyerAgentNationalAssociationId' => array(
519 'type' => 'meta',
520 'name' => 'cobuyeragentnationalassociationid',
521 ),
522 'CoBuyerAgentOfficePhone' => array(
523 'type' => 'meta',
524 'name' => 'cobuyeragentofficephone',
525 ),
526 'CoBuyerAgentOfficePhoneExt' => array(
527 'type' => 'meta',
528 'name' => 'cobuyeragentofficephoneext',
529 ),
530 'CoBuyerAgentPager' => array(
531 'type' => 'meta',
532 'name' => 'cobuyeragentpager',
533 ),
534 'CoBuyerAgentPreferredPhone' => array(
535 'type' => 'meta',
536 'name' => 'cobuyeragentpreferredphone',
537 ),
538 'CoBuyerAgentPreferredPhoneExt' => array(
539 'type' => 'meta',
540 'name' => 'cobuyeragentpreferredphoneext',
541 ),
542 'CoBuyerAgentStateLicense' => array(
543 'type' => 'meta',
544 'name' => 'cobuyeragentstatelicense',
545 ),
546 'CoBuyerAgentTollFreePhone' => array(
547 'type' => 'meta',
548 'name' => 'cobuyeragenttollfreephone',
549 ),
550 'CoBuyerAgentURL' => array(
551 'type' => 'meta',
552 'name' => 'cobuyeragenturl',
553 ),
554 'CoBuyerAgentVoiceMail' => array(
555 'type' => 'meta',
556 'name' => 'cobuyeragentvoicemail',
557 ),
558 'CoBuyerAgentVoiceMailExt' => array(
559 'type' => 'meta',
560 'name' => 'cobuyeragentvoicemailext',
561 ),
562 'CoBuyerOffice' => array(
563 'type' => 'meta',
564 'name' => 'cobuyeroffice',
565 ),
566 'CoBuyerOfficeAOR' => array(
567 'type' => 'meta',
568 'name' => 'cobuyerofficeaor',
569 ),
570 'CoBuyerOfficeEmail' => array(
571 'type' => 'meta',
572 'name' => 'cobuyerofficeemail',
573 ),
574 'CoBuyerOfficeFax' => array(
575 'type' => 'meta',
576 'name' => 'cobuyerofficefax',
577 ),
578 'CoBuyerOfficeKey' => array(
579 'type' => 'meta',
580 'name' => 'cobuyerofficekey',
581 ),
582 'CoBuyerOfficeMlsId' => array(
583 'type' => 'meta',
584 'name' => 'cobuyerofficemlsid',
585 ),
586 'CoBuyerOfficeName' => array(
587 'type' => 'meta',
588 'name' => 'cobuyerofficename',
589 ),
590 'CoBuyerOfficeNationalAssociationId' => array(
591 'type' => 'meta',
592 'name' => 'cobuyerofficenationalassociationid',
593 ),
594 'CoBuyerOfficePhone' => array(
595 'type' => 'meta',
596 'name' => 'cobuyerofficephone',
597 ),
598 'CoBuyerOfficePhoneExt' => array(
599 'type' => 'meta',
600 'name' => 'cobuyerofficephoneext',
601 ),
602 'CoBuyerOfficeURL' => array(
603 'type' => 'meta',
604 'name' => 'cobuyerofficeurl',
605 ),
606 'CoListAgent' => array(
607 'type' => 'meta',
608 'name' => 'colistagent',
609 ),
610 'CoListAgentAOR' => array(
611 'type' => 'meta',
612 'name' => 'colistagentaor',
613 ),
614 'CoListAgentDesignation' => array(
615 'type' => 'meta',
616 'name' => 'colistagentdesignation',
617 ),
618 'CoListAgentDirectPhone' => array(
619 'type' => 'meta',
620 'name' => 'colistagentdirectphone',
621 ),
622 'CoListAgentEmail' => array(
623 'type' => 'meta',
624 'name' => 'colistagentemail',
625 ),
626 'CoListAgentFax' => array(
627 'type' => 'meta',
628 'name' => 'colistagentfax',
629 ),
630 'CoListAgentFirstName' => array(
631 'type' => 'meta',
632 'name' => 'colistagentfirstname',
633 ),
634 'CoListAgentFullName' => array(
635 'type' => 'meta',
636 'name' => 'colistagentfullname',
637 ),
638 'CoListAgentHomePhone' => array(
639 'type' => 'meta',
640 'name' => 'colistagenthomephone',
641 ),
642 'CoListAgentKey' => array(
643 'type' => 'meta',
644 'name' => 'colistagentkey',
645 ),
646 'CoListAgentLastName' => array(
647 'type' => 'meta',
648 'name' => 'colistagentlastname',
649 ),
650 'CoListAgentMiddleName' => array(
651 'type' => 'meta',
652 'name' => 'colistagentmiddlename',
653 ),
654 'CoListAgentMlsId' => array(
655 'type' => 'meta',
656 'name' => 'colistagentmlsid',
657 ),
658 'CoListAgentMobilePhone' => array(
659 'type' => 'meta',
660 'name' => 'colistagentmobilephone',
661 ),
662 'CoListAgentNamePrefix' => array(
663 'type' => 'meta',
664 'name' => 'colistagentnameprefix',
665 ),
666 'CoListAgentNameSuffix' => array(
667 'type' => 'meta',
668 'name' => 'colistagentnamesuffix',
669 ),
670 'CoListAgentNationalAssociationId' => array(
671 'type' => 'meta',
672 'name' => 'colistagentnationalassociationid',
673 ),
674 'CoListAgentOfficePhone' => array(
675 'type' => 'meta',
676 'name' => 'colistagentofficephone',
677 ),
678 'CoListAgentOfficePhoneExt' => array(
679 'type' => 'meta',
680 'name' => 'colistagentofficephoneext',
681 ),
682 'CoListAgentPager' => array(
683 'type' => 'meta',
684 'name' => 'colistagentpager',
685 ),
686 'CoListAgentPreferredPhone' => array(
687 'type' => 'meta',
688 'name' => 'colistagentpreferredphone',
689 ),
690 'CoListAgentPreferredPhoneExt' => array(
691 'type' => 'meta',
692 'name' => 'colistagentpreferredphoneext',
693 ),
694 'CoListAgentStateLicense' => array(
695 'type' => 'meta',
696 'name' => 'colistagentstatelicense',
697 ),
698 'CoListAgentTollFreePhone' => array(
699 'type' => 'meta',
700 'name' => 'colistagenttollfreephone',
701 ),
702 'CoListAgentURL' => array(
703 'type' => 'meta',
704 'name' => 'colistagenturl',
705 ),
706 'CoListAgentVoiceMail' => array(
707 'type' => 'meta',
708 'name' => 'colistagentvoicemail',
709 ),
710 'CoListAgentVoiceMailExt' => array(
711 'type' => 'meta',
712 'name' => 'colistagentvoicemailext',
713 ),
714 'CoListOffice' => array(
715 'type' => 'meta',
716 'name' => 'colistoffice',
717 ),
718 'CoListOfficeAOR' => array(
719 'type' => 'meta',
720 'name' => 'colistofficeaor',
721 ),
722 'CoListOfficeEmail' => array(
723 'type' => 'meta',
724 'name' => 'colistofficeemail',
725 ),
726 'CoListOfficeFax' => array(
727 'type' => 'meta',
728 'name' => 'colistofficefax',
729 ),
730 'CoListOfficeKey' => array(
731 'type' => 'meta',
732 'name' => 'colistofficekey',
733 ),
734 'CoListOfficeMlsId' => array(
735 'type' => 'meta',
736 'name' => 'colistofficemlsid',
737 ),
738 'CoListOfficeName' => array(
739 'type' => 'meta',
740 'name' => 'colistofficename',
741 ),
742 'CoListOfficeNationalAssociationId' => array(
743 'type' => 'meta',
744 'name' => 'colistofficenationalassociationid',
745 ),
746 'CoListOfficePhone' => array(
747 'type' => 'meta',
748 'name' => 'colistofficephone',
749 ),
750 'CoListOfficePhoneExt' => array(
751 'type' => 'meta',
752 'name' => 'colistofficephoneext',
753 ),
754 'CoListOfficeURL' => array(
755 'type' => 'meta',
756 'name' => 'colistofficeurl',
757 ),
758 'CommonInterest' => array(
759 'type' => 'meta',
760 'name' => 'commoninterest',
761 ),
762 'CommonWalls' => array(
763 'type' => 'meta',
764 'name' => 'commonwalls',
765 ),
766 'CommunityFeatures' => array(
767 'type' => 'meta',
768 'name' => 'communityfeatures',
769 ),
770 'CompensationComments' => array(
771 'type' => 'meta',
772 'name' => 'compensationcomments',
773 ),
774 'CompSaleYN' => array(
775 'type' => 'taxonomy',
776 'name' => 'property_features',
777 'insert' => 'Comparative Purposes',
778 ),
779 'Concessions' => array(
780 'type' => 'meta',
781 'name' => 'concessions',
782 ),
783 'ConcessionsAmount' => array(
784 'type' => 'meta',
785 'name' => 'concessionsamount',
786 ),
787 'ConcessionsComments' => array(
788 'type' => 'meta',
789 'name' => 'concessionscomments',
790 ),
791 'ConstructionMaterials' => array(
792 'type' => 'meta',
793 'name' => 'constructionmaterials',
794 ),
795 'ContinentRegion' => array(
796 'type' => 'meta',
797 'name' => 'continentregion',
798 ),
799 'Contingency' => array(
800 'type' => 'meta',
801 'name' => 'contingency',
802 ),
803 'ContingentDate' => array(
804 'type' => 'meta',
805 'name' => 'contingentdate',
806 ),
807 'ContractStatusChangeDate' => array(
808 'type' => 'meta',
809 'name' => 'contractstatuschangedate',
810 ),
811 'Cooling' => array(
812 'type' => 'meta',
813 'name' => 'cooling',
814 ),
815 'CoolingYN' => array(
816 'type' => 'taxonomy',
817 'name' => 'property_features',
818 'insert' => 'Has Cooling System',
819 ),
820 'CopyrightNotice' => array(
821 'type' => 'meta',
822 'name' => 'copyrightnotice',
823 ),
824 'Country' => array(
825 'type' => 'meta',
826 'name' => 'property_country',
827 ),
828 'CountryRegion' => array(
829 'type' => 'meta',
830 'name' => 'countryregion',
831 ),
832 'CountyOrParish' => array(
833 'type' => 'taxonomy',
834 'name' => 'property_county_state',
835 ),
836 'CoveredSpaces' => array(
837 'type' => 'meta',
838 'name' => 'coveredspaces',
839 ),
840 'CropsIncludedYN' => array(
841 'type' => 'taxonomy',
842 'name' => 'property_features',
843 'insert' => 'Crops Included',
844 ),
845 'CrossStreet' => array(
846 'type' => 'meta',
847 'name' => 'crossstreet',
848 ),
849 'CultivatedArea' => array(
850 'type' => 'meta',
851 'name' => 'cultivatedarea',
852 ),
853 'CumulativeDaysOnMarket' => array(
854 'type' => 'meta',
855 'name' => 'cumulativedaysonmarket',
856 ),
857 'CurrentFinancing' => array(
858 'type' => 'meta',
859 'name' => 'currentfinancing',
860 ),
861 'CurrentUse' => array(
862 'type' => 'meta',
863 'name' => 'currentuse',
864 ),
865 'DaysInMls' => array(
866 'type' => 'meta',
867 'name' => 'daysinmls',
868 ),
869 'DaysOnMarket' => array(
870 'type' => 'meta',
871 'name' => 'daysonmarket',
872 ),
873 'DaysOnSite' => array(
874 'type' => 'meta',
875 'name' => 'daysonsite',
876 ),
877 'DevelopmentStatus' => array(
878 'type' => 'meta',
879 'name' => 'developmentstatus',
880 ),
881 'DirectionFaces' => array(
882 'type' => 'meta',
883 'name' => 'directionfaces',
884 ),
885 'Directions' => array(
886 'type' => 'meta',
887 'name' => 'directions',
888 ),
889 'Disclaimer' => array(
890 'type' => 'meta',
891 'name' => 'disclaimer',
892 ),
893 'Disclosures' => array(
894 'type' => 'meta',
895 'name' => 'disclosures',
896 ),
897 'DistanceToBusComments' => array(
898 'type' => 'meta',
899 'name' => 'distancetobuscomments',
900 ),
901 'DistanceToBusNumeric' => array(
902 'type' => 'meta',
903 'name' => 'distancetobusnumeric',
904 ),
905 'DistanceToBusUnits' => array(
906 'type' => 'meta',
907 'name' => 'distancetobusunits',
908 ),
909 'DistanceToElectricComments' => array(
910 'type' => 'meta',
911 'name' => 'distancetoelectriccomments',
912 ),
913 'DistanceToElectricNumeric' => array(
914 'type' => 'meta',
915 'name' => 'distancetoelectricnumeric',
916 ),
917 'DistanceToElectricUnits' => array(
918 'type' => 'meta',
919 'name' => 'distancetoelectricunits',
920 ),
921 'DistanceToFreewayComments' => array(
922 'type' => 'meta',
923 'name' => 'distancetofreewaycomments',
924 ),
925 'DistanceToFreewayNumeric' => array(
926 'type' => 'meta',
927 'name' => 'distancetofreewaynumeric',
928 ),
929 'DistanceToFreewayUnits' => array(
930 'type' => 'meta',
931 'name' => 'distancetofreewayunits',
932 ),
933 'DistanceToGasComments' => array(
934 'type' => 'meta',
935 'name' => 'distancetogascomments',
936 ),
937 'DistanceToGasNumeric' => array(
938 'type' => 'meta',
939 'name' => 'distancetogasnumeric',
940 ),
941 'DistanceToGasUnits' => array(
942 'type' => 'meta',
943 'name' => 'distancetogasunits',
944 ),
945 'DistanceToPhoneServiceComments' => array(
946 'type' => 'meta',
947 'name' => 'distancetophoneservicecomments',
948 ),
949 'DistanceToPhoneServiceNumeric' => array(
950 'type' => 'meta',
951 'name' => 'distancetophoneservicenumeric',
952 ),
953 'DistanceToPhoneServiceUnits' => array(
954 'type' => 'meta',
955 'name' => 'distancetophoneserviceunits',
956 ),
957 'DistanceToPlaceofWorshipComments' => array(
958 'type' => 'meta',
959 'name' => 'distancetoplaceofworshipcomments',
960 ),
961 'DistanceToPlaceofWorshipNumeric' => array(
962 'type' => 'meta',
963 'name' => 'distancetoplaceofworshipnumeric',
964 ),
965 'DistanceToPlaceofWorshipUnits' => array(
966 'type' => 'meta',
967 'name' => 'distancetoplaceofworshipunits',
968 ),
969 'DistanceToSchoolBusComments' => array(
970 'type' => 'meta',
971 'name' => 'distancetoschoolbuscomments',
972 ),
973 'DistanceToSchoolBusNumeric' => array(
974 'type' => 'meta',
975 'name' => 'distancetoschoolbusnumeric',
976 ),
977 'DistanceToSchoolBusUnits' => array(
978 'type' => 'meta',
979 'name' => 'distancetoschoolbusunits',
980 ),
981 'DistanceToSchoolsComments' => array(
982 'type' => 'meta',
983 'name' => 'distancetoschoolscomments',
984 ),
985 'DistanceToSchoolsNumeric' => array(
986 'type' => 'meta',
987 'name' => 'distancetoschoolsnumeric',
988 ),
989 'DistanceToSchoolsUnits' => array(
990 'type' => 'meta',
991 'name' => 'distancetoschoolsunits',
992 ),
993 'DistanceToSewerComments' => array(
994 'type' => 'meta',
995 'name' => 'distancetosewercomments',
996 ),
997 'DistanceToSewerNumeric' => array(
998 'type' => 'meta',
999 'name' => 'distancetosewernumeric',
1000 ),
1001 'DistanceToSewerUnits' => array(
1002 'type' => 'meta',
1003 'name' => 'distancetosewerunits',
1004 ),
1005 'DistanceToShoppingComments' => array(
1006 'type' => 'meta',
1007 'name' => 'distancetoshoppingcomments',
1008 ),
1009 'DistanceToShoppingNumeric' => array(
1010 'type' => 'meta',
1011 'name' => 'distancetoshoppingnumeric',
1012 ),
1013 'DistanceToShoppingUnits' => array(
1014 'type' => 'meta',
1015 'name' => 'distancetoshoppingunits',
1016 ),
1017 'DistanceToStreetComments' => array(
1018 'type' => 'meta',
1019 'name' => 'distancetostreetcomments',
1020 ),
1021 'DistanceToStreetNumeric' => array(
1022 'type' => 'meta',
1023 'name' => 'distancetostreetnumeric',
1024 ),
1025 'DistanceToStreetUnits' => array(
1026 'type' => 'meta',
1027 'name' => 'distancetostreetunits',
1028 ),
1029 'DistanceToWaterComments' => array(
1030 'type' => 'meta',
1031 'name' => 'distancetowatercomments',
1032 ),
1033 'DistanceToWaterNumeric' => array(
1034 'type' => 'meta',
1035 'name' => 'distancetowaternumeric',
1036 ),
1037 'DistanceToWaterUnits' => array(
1038 'type' => 'meta',
1039 'name' => 'distancetowaterunits',
1040 ),
1041 'DocumentsAvailable' => array(
1042 'type' => 'meta',
1043 'name' => 'documentsavailable',
1044 ),
1045 'DocumentsChangeTimestamp' => array(
1046 'type' => 'meta',
1047 'name' => 'documentschangetimestamp',
1048 ),
1049 'DocumentsCount' => array(
1050 'type' => 'meta',
1051 'name' => 'documentscount',
1052 ),
1053 'DocumentStatus' => array(
1054 'type' => 'meta',
1055 'name' => 'documentstatus',
1056 ),
1057 'DOH1' => array(
1058 'type' => 'meta',
1059 'name' => 'doh1',
1060 ),
1061 'DOH2' => array(
1062 'type' => 'meta',
1063 'name' => 'doh2',
1064 ),
1065 'DOH3' => array(
1066 'type' => 'meta',
1067 'name' => 'doh3',
1068 ),
1069 'DoorFeatures' => array(
1070 'type' => 'meta',
1071 'name' => 'doorfeatures',
1072 ),
1073 'DualOrVariableRateCommissionYN' => array(
1074 'type' => 'meta',
1075 'name' => 'dualorvariableratecommissionyn',
1076 ),
1077 'Electric' => array(
1078 'type' => 'meta',
1079 'name' => 'electric',
1080 ),
1081 'ElectricExpense' => array(
1082 'type' => 'meta',
1083 'name' => 'electricexpense',
1084 ),
1085 'ElectricOnPropertyYN' => array(
1086 'type' => 'taxonomy',
1087 'name' => 'property_features',
1088 'insert' => 'Electrical Utility Available',
1089 ),
1090 'ElementarySchool' => array(
1091 'type' => 'meta',
1092 'name' => 'elementaryschool',
1093 ),
1094 'ElementarySchoolDistrict' => array(
1095 'type' => 'meta',
1096 'name' => 'elementaryschooldistrict',
1097 ),
1098 'Elevation' => array(
1099 'type' => 'meta',
1100 'name' => 'elevation',
1101 ),
1102 'ElevationUnits' => array(
1103 'type' => 'meta',
1104 'name' => 'elevationunits',
1105 ),
1106 'EntryLevel' => array(
1107 'type' => 'meta',
1108 'name' => 'entrylevel',
1109 ),
1110 'EntryLocation' => array(
1111 'type' => 'meta',
1112 'name' => 'entrylocation',
1113 ),
1114 'Exclusions' => array(
1115 'type' => 'meta',
1116 'name' => 'exclusions',
1117 ),
1118 'ExistingLeaseType' => array(
1119 'type' => 'meta',
1120 'name' => 'existingleasetype',
1121 ),
1122 'ExpirationDate' => array(
1123 'type' => 'meta',
1124 'name' => 'expirationdate',
1125 ),
1126 'ExteriorFeatures' => array(
1127 'type' => 'taxonomy',
1128 'name' => 'property_features',
1129 ),
1130 'FarmCreditServiceInclYN' => array(
1131 'type' => 'taxonomy',
1132 'name' => 'property_features',
1133 'insert' => 'Farm Credit Service shares are included',
1134 ),
1135 'FarmLandAreaSource' => array(
1136 'type' => 'meta',
1137 'name' => 'farmlandareasource',
1138 ),
1139 'FarmLandAreaUnits' => array(
1140 'type' => 'meta',
1141 'name' => 'farmlandareaunits',
1142 ),
1143 'Fencing' => array(
1144 'type' => 'meta',
1145 'name' => 'fencing',
1146 ),
1147 'FhaEligibility' => array(
1148 'type' => 'meta',
1149 'name' => 'fhaeligibility',
1150 ),
1151 'FinancialDataSource' => array(
1152 'type' => 'meta',
1153 'name' => 'financialdatasource',
1154 ),
1155 'FireplaceFeatures' => array(
1156 'type' => 'meta',
1157 'name' => 'fireplacefeatures',
1158 ),
1159 'FireplacesTotal' => array(
1160 'type' => 'meta',
1161 'name' => 'fireplacestotal',
1162 ),
1163 'FireplaceYN' => array(
1164 'type' => 'taxonomy',
1165 'name' => 'property_features',
1166 'insert' => 'Has Fireplace',
1167 ),
1168 'Flooring' => array(
1169 'type' => 'meta',
1170 'name' => 'flooring',
1171 ),
1172 'FoundationArea' => array(
1173 'type' => 'meta',
1174 'name' => 'foundationarea',
1175 ),
1176 'FoundationDetails' => array(
1177 'type' => 'meta',
1178 'name' => 'foundationdetails',
1179 ),
1180 'FrontageLength' => array(
1181 'type' => 'meta',
1182 'name' => 'frontagelength',
1183 ),
1184 'FrontageType' => array(
1185 'type' => 'meta',
1186 'name' => 'frontagetype',
1187 ),
1188 'FuelExpense' => array(
1189 'type' => 'meta',
1190 'name' => 'fuelexpense',
1191 ),
1192 'Furnished' => array(
1193 'type' => 'meta',
1194 'name' => 'furnished',
1195 ),
1196 'FurnitureReplacementExpense' => array(
1197 'type' => 'meta',
1198 'name' => 'furniturereplacementexpense',
1199 ),
1200 'GarageSpaces' => array(
1201 'type' => 'meta',
1202 'name' => 'garagespaces',
1203 ),
1204 'GarageYN' => array(
1205 'type' => 'taxonomy',
1206 'name' => 'property_features',
1207 'insert' => 'Has Garage',
1208 ),
1209 'GardenerExpense' => array(
1210 'type' => 'meta',
1211 'name' => 'gardenerexpense',
1212 ),
1213 'GrazingPermitsBlmYN' => array(
1214 'type' => 'taxonomy',
1215 'name' => 'property_features',
1216 'insert' => 'Has Grazing Permits - Bureau of Land Management',
1217 ),
1218 'GrazingPermitsForestServiceYN' => array(
1219 'type' => 'taxonomy',
1220 'name' => 'property_features',
1221 'insert' => 'Has Grazing Permits - Forestry Service',
1222 ),
1223 'GrazingPermitsPrivateYN' => array(
1224 'type' => 'taxonomy',
1225 'name' => 'property_features',
1226 'insert'=>'Private Grazing Permits'
1227 ),
1228 'GreenBuildingVerification' => array(
1229 'type' => 'meta',
1230 'name' => 'greenbuildingverification',
1231 ),
1232 'GreenBuildingVerificationType' => array(
1233 'type' => 'meta',
1234 'name' => 'greenbuildingverificationtype',
1235 ),
1236 'GreenEnergyEfficient' => array(
1237 'type' => 'meta',
1238 'name' => 'greenenergyefficient',
1239 ),
1240 'GreenEnergyGeneration' => array(
1241 'type' => 'meta',
1242 'name' => 'greenenergygeneration',
1243 ),
1244 'GreenIndoorAirQuality' => array(
1245 'type' => 'meta',
1246 'name' => 'greenindoorairquality',
1247 ),
1248 'GreenLocation' => array(
1249 'type' => 'meta',
1250 'name' => 'greenlocation',
1251 ),
1252 'GreenSustainability' => array(
1253 'type' => 'meta',
1254 'name' => 'greensustainability',
1255 ),
1256 'GreenVerificationYN' => array(
1257 'type' => 'taxonomy',
1258 'name' => 'property_features',
1259 'insert'=>'Green Verification'
1260 ),
1261 'GreenWaterConservation' => array(
1262 'type' => 'meta',
1263 'name' => 'greenwaterconservation',
1264 ),
1265 'GrossIncome' => array(
1266 'type' => 'meta',
1267 'name' => 'grossincome',
1268 ),
1269 'GrossLivingAreaAnsi' => array(
1270 'type' => 'meta',
1271 'name' => 'grosslivingareaansi',
1272 ),
1273 'GrossScheduledIncome' => array(
1274 'type' => 'meta',
1275 'name' => 'grossscheduledincome',
1276 ),
1277 'HabitableResidenceYN' => array(
1278 'type' => 'taxonomy',
1279 'name' => 'property_features',
1280 'insert'=>'Habitable Residence'
1281 ),
1282 'Heating' => array(
1283 'type' => 'meta',
1284 'name' => 'heating',
1285 ),
1286 'HeatingYN' => array(
1287 'type' => 'taxonomy',
1288 'name' => 'property_features',
1289 'insert' => 'Heating System',
1290 ),
1291 'HighSchool' => array(
1292 'type' => 'meta',
1293 'name' => 'highschool',
1294 ),
1295 'HighSchoolDistrict' => array(
1296 'type' => 'meta',
1297 'name' => 'highschooldistrict',
1298 ),
1299 'HistoryTransactional' => array(
1300 'type' => 'meta',
1301 'name' => 'historytransactional',
1302 ),
1303 'HomeWarrantyYN' => array(
1304 'type' => 'taxonomy',
1305 'name' => 'property_features',
1306 'insert'=>'Home Warranty'
1307 ),
1308 'HorseAmenities' => array(
1309 'type' => 'meta',
1310 'name' => 'horseamenities',
1311 ),
1312 'HorseYN' => array(
1313 'type' => 'taxonomy',
1314 'name' => 'property_features',
1315 'insert' => 'Can Raise Horses',
1316 ),
1317 'HoursDaysOfOperation' => array(
1318 'type' => 'meta',
1319 'name' => 'hoursdaysofoperation',
1320 ),
1321 'HoursDaysOfOperationDescription' => array(
1322 'type' => 'meta',
1323 'name' => 'hoursdaysofoperationdescription',
1324 ),
1325 'Inclusions' => array(
1326 'type' => 'meta',
1327 'name' => 'inclusions',
1328 ),
1329 'IncomeIncludes' => array(
1330 'type' => 'meta',
1331 'name' => 'incomeincludes',
1332 ),
1333 'InsuranceExpense' => array(
1334 'type' => 'meta',
1335 'name' => 'insuranceexpense',
1336 ),
1337 'InteriorFeatures' => array(
1338 'type' => 'taxonomy',
1339 'name' => 'property_features',
1340 ),
1341 'InternetAddressDisplayYN' => array(
1342 'type' => 'meta',
1343 'name' => 'internetaddressdisplayyn',
1344
1345 ),
1346 'InternetAutomatedValuationDisplayYN' => array(
1347 'type' => 'meta',
1348 'name' => 'internetautomatedvaluationdisplayyn',
1349 ),
1350 'InternetConsumerCommentYN' => array(
1351 'type' => 'meta',
1352 'name' => 'internetconsumercommentyn',
1353 ),
1354 'InternetEntireListingDisplayYN' => array(
1355 'type' => 'meta',
1356 'name' => 'internetentirelistingdisplayyn',
1357 ),
1358 'IrrigationSource' => array(
1359 'type' => 'meta',
1360 'name' => 'irrigationsource',
1361 ),
1362 'IrrigationWaterRightsAcres' => array(
1363 'type' => 'meta',
1364 'name' => 'irrigationwaterrightsacres',
1365 ),
1366 'IrrigationWaterRightsYN' => array(
1367 'type' => 'taxonomy',
1368 'name' => 'property_features',
1369 'insert'=>'Irrigation Water Rights'
1370 ),
1371 'LaborInformation' => array(
1372 'type' => 'meta',
1373 'name' => 'laborinformation',
1374 ),
1375 'LandLeaseAmount' => array(
1376 'type' => 'meta',
1377 'name' => 'landleaseamount',
1378 ),
1379 'LandLeaseAmountFrequency' => array(
1380 'type' => 'meta',
1381 'name' => 'landleaseamountfrequency',
1382 ),
1383 'LandLeaseExpirationDate' => array(
1384 'type' => 'meta',
1385 'name' => 'landleaseexpirationdate',
1386 ),
1387 'LandLeaseYN' => array(
1388 'type' => 'taxonomy',
1389 'name' => 'property_features',
1390 'insert'=> 'Land Lease'
1391 ),
1392 'Latitude' => array(
1393 'type' => 'meta',
1394 'name' => 'property_latitude',
1395 ),
1396 'LaundryFeatures' => array(
1397 'type' => 'meta',
1398 'name' => 'laundryfeatures',
1399 ),
1400 'LeasableArea' => array(
1401 'type' => 'meta',
1402 'name' => 'leasablearea',
1403 ),
1404 'LeasableAreaUnits' => array(
1405 'type' => 'meta',
1406 'name' => 'leasableareaunits',
1407 ),
1408 'LeaseAmount' => array(
1409 'type' => 'meta',
1410 'name' => 'leaseamount',
1411 ),
1412 'LeaseAmountFrequency' => array(
1413 'type' => 'meta',
1414 'name' => 'leaseamountfrequency',
1415 ),
1416 'LeaseAssignableYN' => array(
1417 'type' => 'taxonomy',
1418 'name' => 'property_features',
1419 'insert'=> 'Lease Assignable'
1420 ),
1421 'LeaseConsideredYN' => array(
1422 'type' => 'taxonomy',
1423 'name' => 'property_features',
1424 'insert'=> 'Will Consider Lease'
1425 ),
1426 'LeaseExpiration' => array(
1427 'type' => 'meta',
1428 'name' => 'leaseexpiration',
1429 ),
1430 'LeaseRenewalCompensation' => array(
1431 'type' => 'meta',
1432 'name' => 'leaserenewalcompensation',
1433 ),
1434 'LeaseRenewalOptionYN' => array(
1435 'type' => 'taxonomy',
1436 'name' => 'property_features',
1437 'insert'=> 'Lease Renewal Option'
1438 ),
1439 'LeaseTerm' => array(
1440 'type' => 'meta',
1441 'name' => 'leaseterm',
1442 ),
1443 'Levels' => array(
1444 'type' => 'meta',
1445 'name' => 'levels',
1446 ),
1447 'License1' => array(
1448 'type' => 'meta',
1449 'name' => 'license1',
1450 ),
1451 'License2' => array(
1452 'type' => 'meta',
1453 'name' => 'license2',
1454 ),
1455 'License3' => array(
1456 'type' => 'meta',
1457 'name' => 'license3',
1458 ),
1459 'LicensesExpense' => array(
1460 'type' => 'meta',
1461 'name' => 'licensesexpense',
1462 ),
1463 'ListAgent' => array(
1464 'type' => 'meta',
1465 'name' => 'listagent',
1466 ),
1467 'ListAgentAOR' => array(
1468 'type' => 'meta',
1469 'name' => 'listagentaor',
1470 ),
1471 'ListAgentDesignation' => array(
1472 'type' => 'meta',
1473 'name' => 'listagentdesignation',
1474 ),
1475 'ListAgentDirectPhone' => array(
1476 'type' => 'meta',
1477 'name' => 'listagentdirectphone',
1478 ),
1479 'ListAgentEmail' => array(
1480 'type' => 'meta',
1481 'name' => 'listagentemail',
1482 ),
1483 'ListAgentFax' => array(
1484 'type' => 'meta',
1485 'name' => 'listagentfax',
1486 ),
1487 'ListAgentFirstName' => array(
1488 'type' => 'meta',
1489 'name' => 'listagentfirstname',
1490 ),
1491 'ListAgentFullName' => array(
1492 'type' => 'meta',
1493 'name' => 'listagentfullname',
1494 ),
1495 'ListAgentHomePhone' => array(
1496 'type' => 'meta',
1497 'name' => 'listagenthomephone',
1498 ),
1499 'ListAgentKey' => array(
1500 'type' => 'meta',
1501 'name' => 'listagentkey',
1502 ),
1503 'ListAgentLastName' => array(
1504 'type' => 'meta',
1505 'name' => 'listagentlastname',
1506 ),
1507 'ListAgentMiddleName' => array(
1508 'type' => 'meta',
1509 'name' => 'listagentmiddlename',
1510 ),
1511 'ListAgentMlsId' => array(
1512 'type' => 'meta',
1513 'name' => 'listagentmlsid',
1514 ),
1515 'ListAgentMobilePhone' => array(
1516 'type' => 'meta',
1517 'name' => 'listagentmobilephone',
1518 ),
1519 'ListAgentNamePrefix' => array(
1520 'type' => 'meta',
1521 'name' => 'listagentnameprefix',
1522 ),
1523 'ListAgentNameSuffix' => array(
1524 'type' => 'meta',
1525 'name' => 'listagentnamesuffix',
1526 ),
1527 'ListAgentNationalAssociationId' => array(
1528 'type' => 'meta',
1529 'name' => 'listagentnationalassociationid',
1530 ),
1531 'ListAgentOfficePhone' => array(
1532 'type' => 'meta',
1533 'name' => 'listagentofficephone',
1534 ),
1535 'ListAgentOfficePhoneExt' => array(
1536 'type' => 'meta',
1537 'name' => 'listagentofficephoneext',
1538 ),
1539 'ListAgentPager' => array(
1540 'type' => 'meta',
1541 'name' => 'listagentpager',
1542 ),
1543 'ListAgentPreferredPhone' => array(
1544 'type' => 'meta',
1545 'name' => 'listagentpreferredphone',
1546 ),
1547 'ListAgentPreferredPhoneExt' => array(
1548 'type' => 'meta',
1549 'name' => 'listagentpreferredphoneext',
1550 ),
1551 'ListAgentStateLicense' => array(
1552 'type' => 'meta',
1553 'name' => 'listagentstatelicense',
1554 ),
1555 'ListAgentTollFreePhone' => array(
1556 'type' => 'meta',
1557 'name' => 'listagenttollfreephone',
1558 ),
1559 'ListAgentURL' => array(
1560 'type' => 'meta',
1561 'name' => 'listagenturl',
1562 ),
1563 'ListAgentVoiceMail' => array(
1564 'type' => 'meta',
1565 'name' => 'listagentvoicemail',
1566 ),
1567 'ListAgentVoiceMailExt' => array(
1568 'type' => 'meta',
1569 'name' => 'listagentvoicemailext',
1570 ),
1571 'ListAOR' => array(
1572 'type' => 'meta',
1573 'name' => 'listaor',
1574 ),
1575 'ListingAgreement' => array(
1576 'type' => 'meta',
1577 'name' => 'listingagreement',
1578 ),
1579 'ListingContractDate' => array(
1580 'type' => 'meta',
1581 'name' => 'listingcontractdate',
1582 ),
1583 'ListingId' => array(
1584 'type' => 'meta',
1585 'name' => 'listingid',
1586 ),
1587 'ListingKey' => array(
1588 'type' => 'meta',
1589 'name' => 'listingkey',
1590 ),
1591 'ListingService' => array(
1592 'type' => 'meta',
1593 'name' => 'listingservice',
1594 ),
1595 'ListingTerms' => array(
1596 'type' => 'meta',
1597 'name' => 'listingterms',
1598 ),
1599 'ListingURL' => array(
1600 'type' => 'meta',
1601 'name' => 'listingurl',
1602 ),
1603 'ListingURLDescription' => array(
1604 'type' => 'meta',
1605 'name' => 'listingurldescription',
1606 ),
1607 'ListOffice' => array(
1608 'type' => 'meta',
1609 'name' => 'listoffice',
1610 ),
1611 'ListOfficeAOR' => array(
1612 'type' => 'meta',
1613 'name' => 'listofficeaor',
1614 ),
1615 'ListOfficeEmail' => array(
1616 'type' => 'meta',
1617 'name' => 'listofficeemail',
1618 ),
1619 'ListOfficeFax' => array(
1620 'type' => 'meta',
1621 'name' => 'listofficefax',
1622 ),
1623 'ListOfficeKey' => array(
1624 'type' => 'meta',
1625 'name' => 'listofficekey',
1626 ),
1627 'ListOfficeMlsId' => array(
1628 'type' => 'meta',
1629 'name' => 'listofficemlsid',
1630 ),
1631 'ListOfficeName' => array(
1632 'type' => 'meta',
1633 'name' => 'listofficename',
1634 ),
1635 'ListOfficeNationalAssociationId' => array(
1636 'type' => 'meta',
1637 'name' => 'listofficenationalassociationid',
1638 ),
1639 'ListOfficePhone' => array(
1640 'type' => 'meta',
1641 'name' => 'listofficephone',
1642 ),
1643 'ListOfficePhoneExt' => array(
1644 'type' => 'meta',
1645 'name' => 'listofficephoneext',
1646 ),
1647 'ListOfficeURL' => array(
1648 'type' => 'meta',
1649 'name' => 'listofficeurl',
1650 ),
1651 'ListPrice' => array(
1652 'type' => 'meta',
1653 'name' => 'property_price',
1654 ),
1655 'ListPriceLow' => array(
1656 'type' => 'meta',
1657 'name' => 'listpricelow',
1658 ),
1659 'ListTeam' => array(
1660 'type' => 'meta',
1661 'name' => 'listteam',
1662 ),
1663 'ListTeamKey' => array(
1664 'type' => 'meta',
1665 'name' => 'listteamkey',
1666 ),
1667 'ListTeamName' => array(
1668 'type' => 'meta',
1669 'name' => 'listteamname',
1670 ),
1671 'LivingArea' => array(
1672 'type' => 'meta',
1673 'name' => 'property_size',
1674 ),
1675 'LivingAreaSource' => array(
1676 'type' => 'meta',
1677 'name' => 'livingareasource',
1678 ),
1679 'LivingAreaUnits' => array(
1680 'type' => 'meta',
1681 'name' => 'livingareaunits',
1682 ),
1683 'LockBoxLocation' => array(
1684 'type' => 'meta',
1685 'name' => 'lockboxlocation',
1686 ),
1687 'LockBoxSerialNumber' => array(
1688 'type' => 'meta',
1689 'name' => 'lockboxserialnumber',
1690 ),
1691 'LockBoxType' => array(
1692 'type' => 'meta',
1693 'name' => 'lockboxtype',
1694 ),
1695 'Longitude' => array(
1696 'type' => 'meta',
1697 'name' => 'property_longitude',
1698 ),
1699 'LotDimensionsSource' => array(
1700 'type' => 'meta',
1701 'name' => 'lotdimensionssource',
1702 ),
1703 'LotFeatures' => array(
1704 'type' => 'meta',
1705 'name' => 'lotfeatures',
1706 ),
1707 'LotSizeAcres' => array(
1708 'type' => 'meta',
1709 'name' => 'property_lot_size',
1710 ),
1711 'LotSizeArea' => array(
1712 'type' => 'meta',
1713 'name' => 'lotsizearea',
1714 ),
1715 'LotSizeDimensions' => array(
1716 'type' => 'meta',
1717 'name' => 'lotsizedimensions',
1718 ),
1719 'LotSizeSource' => array(
1720 'type' => 'meta',
1721 'name' => 'lotsizesource',
1722 ),
1723 'LotSizeSquareFeet' => array(
1724 'type' => 'meta',
1725 'name' => 'lotsizesquarefeet',
1726 ),
1727 'LotSizeUnits' => array(
1728 'type' => 'meta',
1729 'name' => 'lotsizeunits',
1730 ),
1731 'MainLevelBathrooms' => array(
1732 'type' => 'meta',
1733 'name' => 'mainlevelbathrooms',
1734 ),
1735 'MainLevelBedrooms' => array(
1736 'type' => 'meta',
1737 'name' => 'mainlevelbedrooms',
1738 ),
1739 'MaintenanceExpense' => array(
1740 'type' => 'meta',
1741 'name' => 'maintenanceexpense',
1742 ),
1743 'MajorChangeTimestamp' => array(
1744 'type' => 'meta',
1745 'name' => 'majorchangetimestamp',
1746 ),
1747 'MajorChangeType' => array(
1748 'type' => 'meta',
1749 'name' => 'majorchangetype',
1750 ),
1751 'Make' => array(
1752 'type' => 'meta',
1753 'name' => 'make',
1754 ),
1755 'ManagerExpense' => array(
1756 'type' => 'meta',
1757 'name' => 'managerexpense',
1758 ),
1759 'MapCoordinate' => array(
1760 'type' => 'meta',
1761 'name' => 'mapcoordinate',
1762 ),
1763 'MapCoordinateSource' => array(
1764 'type' => 'meta',
1765 'name' => 'mapcoordinatesource',
1766 ),
1767 'MapURL' => array(
1768 'type' => 'meta',
1769 'name' => 'mapurl',
1770 ),
1771 'Media' => array(
1772 'type' => 'media',
1773 'name' => 'media',
1774 ),
1775 'MiddleOrJuniorSchool' => array(
1776 'type' => 'meta',
1777 'name' => 'middleorjuniorschool',
1778 ),
1779 'MiddleOrJuniorSchoolDistrict' => array(
1780 'type' => 'meta',
1781 'name' => 'middleorjuniorschooldistrict',
1782 ),
1783 'MLSAreaMajor' => array(
1784 'type' => 'meta',
1785 'name' => 'mlsareamajor',
1786 ),
1787 'MLSAreaMinor' => array(
1788 'type' => 'meta',
1789 'name' => 'mlsareaminor',
1790 ),
1791 'MlsStatus' => array(
1792 'type' => 'meta',
1793 'name' => 'mlsstatus',
1794 ),
1795 'MobileDimUnits' => array(
1796 'type' => 'meta',
1797 'name' => 'mobiledimunits',
1798 ),
1799 'MobileHomeRemainsYN' => array(
1800 'type' => 'taxonomy',
1801 'name' => 'property_features',
1802 'insert'=> 'Mobile Home Remains'
1803 ),
1804 'MobileLength' => array(
1805 'type' => 'meta',
1806 'name' => 'mobilelength',
1807 ),
1808 'MobileWidth' => array(
1809 'type' => 'meta',
1810 'name' => 'mobilewidth',
1811 ),
1812 'Model' => array(
1813 'type' => 'meta',
1814 'name' => 'model',
1815 ),
1816 'ModificationTimestamp' => array(
1817 'type' => 'meta',
1818 'name' => 'modificationtimestamp',
1819 ),
1820 'NetOperatingIncome' => array(
1821 'type' => 'meta',
1822 'name' => 'netoperatingincome',
1823 ),
1824 'NewConstructionYN' => array(
1825 'type' => 'taxonomy',
1826 'name' => 'property_features',
1827 'insert' => 'New Construction',
1828 ),
1829 'NewTaxesExpense' => array(
1830 'type' => 'meta',
1831 'name' => 'newtaxesexpense',
1832 ),
1833 'NumberOfBuildings' => array(
1834 'type' => 'meta',
1835 'name' => 'numberofbuildings',
1836 ),
1837 'NumberOfFullTimeEmployees' => array(
1838 'type' => 'meta',
1839 'name' => 'numberoffulltimeemployees',
1840 ),
1841 'NumberOfLots' => array(
1842 'type' => 'meta',
1843 'name' => 'numberoflots',
1844 ),
1845 'NumberOfPads' => array(
1846 'type' => 'meta',
1847 'name' => 'numberofpads',
1848 ),
1849 'NumberOfPartTimeEmployees' => array(
1850 'type' => 'meta',
1851 'name' => 'numberofparttimeemployees',
1852 ),
1853 'NumberOfSeparateElectricMeters' => array(
1854 'type' => 'meta',
1855 'name' => 'numberofseparateelectricmeters',
1856 ),
1857 'NumberOfSeparateGasMeters' => array(
1858 'type' => 'meta',
1859 'name' => 'numberofseparategasmeters',
1860 ),
1861 'NumberOfSeparateWaterMeters' => array(
1862 'type' => 'meta',
1863 'name' => 'numberofseparatewatermeters',
1864 ),
1865 'NumberOfUnitsInCommunity' => array(
1866 'type' => 'meta',
1867 'name' => 'numberofunitsincommunity',
1868 ),
1869 'NumberOfUnitsLeased' => array(
1870 'type' => 'meta',
1871 'name' => 'numberofunitsleased',
1872 ),
1873 'NumberOfUnitsMoMo' => array(
1874 'type' => 'meta',
1875 'name' => 'numberofunitsmomo',
1876 ),
1877 'NumberOfUnitsTotal' => array(
1878 'type' => 'meta',
1879 'name' => 'numberofunitstotal',
1880 ),
1881 'NumberOfUnitsVacant' => array(
1882 'type' => 'meta',
1883 'name' => 'numberofunitsvacant',
1884 ),
1885 'OccupantName' => array(
1886 'type' => 'meta',
1887 'name' => 'occupantname',
1888 ),
1889 'OccupantPhone' => array(
1890 'type' => 'meta',
1891 'name' => 'occupantphone',
1892 ),
1893 'OccupantType' => array(
1894 'type' => 'meta',
1895 'name' => 'occupanttype',
1896 ),
1897 'OffMarketDate' => array(
1898 'type' => 'meta',
1899 'name' => 'offmarketdate',
1900 ),
1901 'OffMarketTimestamp' => array(
1902 'type' => 'meta',
1903 'name' => 'offmarkettimestamp',
1904 ),
1905 'OnMarketDate' => array(
1906 'type' => 'meta',
1907 'name' => 'onmarketdate',
1908 ),
1909 'OnMarketTimestamp' => array(
1910 'type' => 'meta',
1911 'name' => 'onmarkettimestamp',
1912 ),
1913 'OpenHouse' => array(
1914 'type' => 'meta',
1915 'name' => 'openhouse',
1916 ),
1917 'OpenHouseModificationTimestamp' => array(
1918 'type' => 'meta',
1919 'name' => 'openhousemodificationtimestamp',
1920 ),
1921 'OpenParkingSpaces' => array(
1922 'type' => 'meta',
1923 'name' => 'openparkingspaces',
1924 ),
1925 'OpenParkingYN' => array(
1926 'type' => 'taxonomy',
1927 'name' => 'property_features',
1928 'insert' => 'Open Parking',
1929 ),
1930 'OperatingExpense' => array(
1931 'type' => 'meta',
1932 'name' => 'operatingexpense',
1933 ),
1934 'OperatingExpenseIncludes' => array(
1935 'type' => 'meta',
1936 'name' => 'operatingexpenseincludes',
1937 ),
1938 'OriginalEntryTimestamp' => array(
1939 'type' => 'meta',
1940 'name' => 'originalentrytimestamp',
1941 ),
1942 'OriginalListPrice' => array(
1943 'type' => 'meta',
1944 'name' => 'originallistprice',
1945 ),
1946 'OriginatingSystem' => array(
1947 'type' => 'meta',
1948 'name' => 'originatingsystem',
1949 ),
1950 'OriginatingSystemID' => array(
1951 'type' => 'meta',
1952 'name' => 'originatingsystemid',
1953 ),
1954 'OriginatingSystemKey' => array(
1955 'type' => 'meta',
1956 'name' => 'originatingsystemkey',
1957 ),
1958 'OriginatingSystemName' => array(
1959 'type' => 'meta',
1960 'name' => 'originatingsystemname',
1961 ),
1962 'OtherEquipment' => array(
1963 'type' => 'meta',
1964 'name' => 'otherequipment',
1965 ),
1966 'OtherExpense' => array(
1967 'type' => 'meta',
1968 'name' => 'otherexpense',
1969 ),
1970 'OtherParking' => array(
1971 'type' => 'meta',
1972 'name' => 'otherparking',
1973 ),
1974 'OtherStructures' => array(
1975 'type' => 'meta',
1976 'name' => 'otherstructures',
1977 ),
1978 'OwnerName' => array(
1979 'type' => 'meta',
1980 'name' => 'ownername',
1981 ),
1982 'OwnerPays' => array(
1983 'type' => 'meta',
1984 'name' => 'ownerpays',
1985 ),
1986 'OwnerPhone' => array(
1987 'type' => 'meta',
1988 'name' => 'ownerphone',
1989 ),
1990 'Ownership' => array(
1991 'type' => 'meta',
1992 'name' => 'ownership',
1993 ),
1994 'OwnershipType' => array(
1995 'type' => 'meta',
1996 'name' => 'ownershiptype',
1997 ),
1998 'ParcelNumber' => array(
1999 'type' => 'meta',
2000 'name' => 'parcelnumber',
2001 ),
2002 'ParkingFeatures' => array(
2003 'type' => 'meta',
2004 'name' => 'parkingfeatures',
2005 ),
2006 'ParkingTotal' => array(
2007 'type' => 'meta',
2008 'name' => 'parkingtotal',
2009 ),
2010 'ParkManagerName' => array(
2011 'type' => 'meta',
2012 'name' => 'parkmanagername',
2013 ),
2014 'ParkManagerPhone' => array(
2015 'type' => 'meta',
2016 'name' => 'parkmanagerphone',
2017 ),
2018 'ParkName' => array(
2019 'type' => 'meta',
2020 'name' => 'parkname',
2021 ),
2022 'PastureArea' => array(
2023 'type' => 'meta',
2024 'name' => 'pasturearea',
2025 ),
2026 'PatioAndPorchFeatures' => array(
2027 'type' => 'meta',
2028 'name' => 'patioandporchfeatures',
2029 ),
2030 'PendingTimestamp' => array(
2031 'type' => 'meta',
2032 'name' => 'pendingtimestamp',
2033 ),
2034 'PestControlExpense' => array(
2035 'type' => 'meta',
2036 'name' => 'pestcontrolexpense',
2037 ),
2038 'PetsAllowed' => array(
2039 'type' => 'meta',
2040 'name' => 'petsallowed',
2041 ),
2042 'PhotosChangeTimestamp' => array(
2043 'type' => 'meta',
2044 'name' => 'photoschangetimestamp',
2045 ),
2046 'PhotosCount' => array(
2047 'type' => 'meta',
2048 'name' => 'photoscount',
2049 ),
2050 'PoolExpense' => array(
2051 'type' => 'meta',
2052 'name' => 'poolexpense',
2053 ),
2054 'PoolFeatures' => array(
2055 'type' => 'meta',
2056 'name' => 'poolfeatures',
2057 ),
2058 'PoolPrivateYN' => array(
2059 'type' => 'taxonomy',
2060 'name' => 'property_features',
2061 'insert' => 'Private Pool',
2062 ),
2063 'Possession' => array(
2064 'type' => 'meta',
2065 'name' => 'possession',
2066 ),
2067 'PossibleUse' => array(
2068 'type' => 'meta',
2069 'name' => 'possibleuse',
2070 ),
2071 'PostalCity' => array(
2072 'type' => 'meta',
2073 'name' => 'postalcity',
2074 ),
2075 'PostalCode' => array(
2076 'type' => 'meta',
2077 'name' => 'property_zip',
2078 ),
2079 'PostalCodePlus4' => array(
2080 'type' => 'meta',
2081 'name' => 'postalcodeplus4',
2082 ),
2083 'PowerProduction' => array(
2084 'type' => 'meta',
2085 'name' => 'powerproduction',
2086 ),
2087 'PowerProductionType' => array(
2088 'type' => 'meta',
2089 'name' => 'powerproductiontype',
2090 ),
2091 'PowerProductionYN' => array(
2092 'type' => 'taxonomy',
2093 'name' => 'property_features',
2094 'insert'=> 'Power Production System'
2095 ),
2096 'PreviousListPrice' => array(
2097 'type' => 'meta',
2098 'name' => 'previouslistprice',
2099 ),
2100 'PriceChangeTimestamp' => array(
2101 'type' => 'meta',
2102 'name' => 'pricechangetimestamp',
2103 ),
2104 'PrivateOfficeRemarks' => array(
2105 'type' => 'meta',
2106 'name' => 'privateofficeremarks',
2107 ),
2108 'PrivateRemarks' => array(
2109 'type' => 'meta',
2110 'name' => 'owner_notes',
2111 ),
2112 'ProfessionalManagementExpense' => array(
2113 'type' => 'meta',
2114 'name' => 'professionalmanagementexpense',
2115 ),
2116 'PropertyAttachedYN' => array(
2117 'type' => 'taxonomy',
2118 'name' => 'property_features',
2119 'insert' => 'Property Attached',
2120 ),
2121 'PropertyCondition' => array(
2122 'type' => 'meta',
2123 'name' => 'propertycondition',
2124 ),
2125 'PropertySubType' => array(
2126 'type' => 'taxonomy',
2127 'name' => 'property_category',
2128 ),
2129 'PropertyTimeZoneName' => array(
2130 'type' => 'meta',
2131 'name' => 'propertytimezonename',
2132 ),
2133 'PropertyTimeZoneObservesDstYN' => array(
2134 'type' => 'taxonomy',
2135 'name' => 'property_features',
2136 'insert'=> 'Property Time Zone Observes DST'
2137 ),
2138 'PropertyTimeZoneStandardOffset' => array(
2139 'type' => 'meta',
2140 'name' => 'propertytimezonestandardoffset',
2141 ),
2142 'PropertyType' => array(
2143 'type' => 'taxonomy',
2144 'name' => 'property_action_category',
2145 ),
2146 'PublicRemarks' => array(
2147 'type' => 'content',
2148 'name' => 'content',
2149 ),
2150 'PublicSurveyRange' => array(
2151 'type' => 'meta',
2152 'name' => 'publicsurveyrange',
2153 ),
2154 'PublicSurveySection' => array(
2155 'type' => 'meta',
2156 'name' => 'publicsurveysection',
2157 ),
2158 'PublicSurveyTownship' => array(
2159 'type' => 'meta',
2160 'name' => 'publicsurveytownship',
2161 ),
2162 'PurchaseContractDate' => array(
2163 'type' => 'meta',
2164 'name' => 'purchasecontractdate',
2165 ),
2166 'RangeArea' => array(
2167 'type' => 'meta',
2168 'name' => 'rangearea',
2169 ),
2170 'RentControlYN' => array(
2171 'type' => 'taxonomy',
2172 'name' => 'property_features',
2173 'insert'=> 'Rent Control Area'
2174 ),
2175 'RentIncludes' => array(
2176 'type' => 'meta',
2177 'name' => 'rentincludes',
2178 ),
2179 'RoadFrontageType' => array(
2180 'type' => 'meta',
2181 'name' => 'roadfrontagetype',
2182 ),
2183 'RoadResponsibility' => array(
2184 'type' => 'meta',
2185 'name' => 'roadresponsibility',
2186 ),
2187 'RoadSurfaceType' => array(
2188 'type' => 'meta',
2189 'name' => 'roadsurfacetype',
2190 ),
2191 'Roof' => array(
2192 'type' => 'meta',
2193 'name' => 'roof',
2194 ),
2195 'Rooms' => array(
2196 'type' => 'meta',
2197 'name' => 'rooms',
2198 ),
2199 'RoomsTotal' => array(
2200 'type' => 'meta',
2201 'name' => 'property_rooms',
2202 ),
2203 'RoomType' => array(
2204 'type' => 'meta',
2205 'name' => 'roomtype',
2206 ),
2207 'RVParkingDimensions' => array(
2208 'type' => 'meta',
2209 'name' => 'rvparkingdimensions',
2210 ),
2211 'SeatingCapacity' => array(
2212 'type' => 'meta',
2213 'name' => 'seatingcapacity',
2214 ),
2215 'SecurityFeatures' => array(
2216 'type' => 'meta',
2217 'name' => 'securityfeatures',
2218 ),
2219 'SeniorCommunityYN' => array(
2220 'type' => 'taxonomy',
2221 'name' => 'property_features',
2222 'insert' => 'Senior Community',
2223 ),
2224 'SerialU' => array(
2225 'type' => 'meta',
2226 'name' => 'serialu',
2227 ),
2228 'SerialX' => array(
2229 'type' => 'meta',
2230 'name' => 'serialx',
2231 ),
2232 'SerialXX' => array(
2233 'type' => 'meta',
2234 'name' => 'serialxx',
2235 ),
2236 'Sewer' => array(
2237 'type' => 'meta',
2238 'name' => 'sewer',
2239 ),
2240 'ShowingAdvanceNotice' => array(
2241 'type' => 'meta',
2242 'name' => 'showingadvancenotice',
2243 ),
2244 'ShowingAttendedYN' => array(
2245 'type' => 'taxonomy',
2246 'name' => 'property_features',
2247 'insert'=> 'Requires An Attended Showing'
2248 ),
2249 'ShowingConsiderations' => array(
2250 'type' => 'meta',
2251 'name' => 'showingconsiderations',
2252 ),
2253 'ShowingContactName' => array(
2254 'type' => 'meta',
2255 'name' => 'showingcontactname',
2256 ),
2257 'ShowingContactPhone' => array(
2258 'type' => 'meta',
2259 'name' => 'showingcontactphone',
2260 ),
2261 'ShowingContactPhoneExt' => array(
2262 'type' => 'meta',
2263 'name' => 'showingcontactphoneext',
2264 ),
2265 'ShowingContactType' => array(
2266 'type' => 'meta',
2267 'name' => 'showingcontacttype',
2268 ),
2269 'ShowingDays' => array(
2270 'type' => 'meta',
2271 'name' => 'showingdays',
2272 ),
2273 'ShowingEndTime' => array(
2274 'type' => 'meta',
2275 'name' => 'showingendtime',
2276 ),
2277 'ShowingInstructions' => array(
2278 'type' => 'meta',
2279 'name' => 'showinginstructions',
2280 ),
2281 'ShowingRequirements' => array(
2282 'type' => 'meta',
2283 'name' => 'showingrequirements',
2284 ),
2285 'ShowingServiceName' => array(
2286 'type' => 'meta',
2287 'name' => 'showingservicename',
2288 ),
2289 'ShowingStartTime' => array(
2290 'type' => 'meta',
2291 'name' => 'showingstarttime',
2292 ),
2293 'SignOnPropertyYN' => array(
2294 'type' => 'taxonomy',
2295 'name' => 'property_features',
2296 'insert'=> 'Sign On Property'
2297 ),
2298 'SimpleDaysOnMarket' => array(
2299 'type' => 'meta',
2300 'name' => 'simpledaysonmarket',
2301 ),
2302 'Skirt' => array(
2303 'type' => 'meta',
2304 'name' => 'skirt',
2305 ),
2306 'SocialMedia' => array(
2307 'type' => 'meta',
2308 'name' => 'socialmedia',
2309 ),
2310 'SourceSystem' => array(
2311 'type' => 'meta',
2312 'name' => 'sourcesystem',
2313 ),
2314 'SourceSystemID' => array(
2315 'type' => 'meta',
2316 'name' => 'sourcesystemid',
2317 ),
2318 'SourceSystemKey' => array(
2319 'type' => 'meta',
2320 'name' => 'sourcesystemkey',
2321 ),
2322 'SourceSystemName' => array(
2323 'type' => 'meta',
2324 'name' => 'sourcesystemname',
2325 ),
2326 'SpaFeatures' => array(
2327 'type' => 'meta',
2328 'name' => 'spafeatures',
2329 ),
2330 'SpaYN' => array(
2331 'type' => 'taxonomy',
2332 'name' => 'property_features',
2333 'insert' => 'Spa',
2334 ),
2335 'SpecialLicenses' => array(
2336 'type' => 'meta',
2337 'name' => 'speciallicenses',
2338 ),
2339 'SpecialListingConditions' => array(
2340 'type' => 'meta',
2341 'name' => 'speciallistingconditions',
2342 ),
2343 'StandardStatus' => array(
2344 'type' => 'taxonomy',
2345 'name' => 'property_status',
2346 ),
2347 'StartShowingDate' => array(
2348 'type' => 'meta',
2349 'name' => 'startshowingdate',
2350 ),
2351 'StateOrProvince' => array(
2352 'type' => 'meta',
2353 'name' => 'stateorprovince',
2354 ),
2355 'StateRegion' => array(
2356 'type' => 'meta',
2357 'name' => 'stateregion',
2358 ),
2359 'StatusChangeTimestamp' => array(
2360 'type' => 'meta',
2361 'name' => 'statuschangetimestamp',
2362 ),
2363 'Stories' => array(
2364 'type' => 'meta',
2365 'name' => 'stories',
2366 ),
2367 'StoriesTotal' => array(
2368 'type' => 'meta',
2369 'name' => 'storiestotal',
2370 ),
2371 'StreetAdditionalInfo' => array(
2372 'type' => 'meta',
2373 'name' => 'streetadditionalinfo',
2374 ),
2375 'StreetDirPrefix' => array(
2376 'type' => 'meta',
2377 'name' => 'streetdirprefix',
2378 ),
2379 'StreetDirSuffix' => array(
2380 'type' => 'meta',
2381 'name' => 'streetdirsuffix',
2382 ),
2383 'StreetName' => array(
2384 'type' => 'meta',
2385 'name' => 'streetname',
2386 ),
2387 'StreetNumber' => array(
2388 'type' => 'meta',
2389 'name' => 'streetnumber',
2390 ),
2391 'StreetNumberNumeric' => array(
2392 'type' => 'meta',
2393 'name' => 'streetnumbernumeric',
2394 ),
2395 'StreetSuffix' => array(
2396 'type' => 'meta',
2397 'name' => 'streetsuffix',
2398 ),
2399 'StreetSuffixModifier' => array(
2400 'type' => 'meta',
2401 'name' => 'streetsuffixmodifier',
2402 ),
2403 'StructureType' => array(
2404 'type' => 'meta',
2405 'name' => 'structuretype',
2406 ),
2407 'SubAgencyCompensation' => array(
2408 'type' => 'meta',
2409 'name' => 'subagencycompensation',
2410 ),
2411 'SubAgencyCompensationType' => array(
2412 'type' => 'meta',
2413 'name' => 'subagencycompensationtype',
2414 ),
2415 'SubdivisionName' => array(
2416 'type' => 'taxonomy',
2417 'name' => 'property_area',
2418 ),
2419 'SuppliesExpense' => array(
2420 'type' => 'meta',
2421 'name' => 'suppliesexpense',
2422 ),
2423 'SyndicateTo' => array(
2424 'type' => 'meta',
2425 'name' => 'syndicateto',
2426 ),
2427 'SyndicationRemarks' => array(
2428 'type' => 'meta',
2429 'name' => 'syndicationremarks',
2430 ),
2431 'TaxAnnualAmount' => array(
2432 'type' => 'meta',
2433 'name' => 'taxannualamount',
2434 ),
2435 'TaxAnnualAmountPerLivingAreaUnit' => array(
2436 'type' => 'meta',
2437 'name' => 'taxannualamountperlivingareaunit',
2438 ),
2439 'TaxAnnualAmountPerSquareFoot' => array(
2440 'type' => 'meta',
2441 'name' => 'taxannualamountpersquarefoot',
2442 ),
2443 'TaxAssessedValue' => array(
2444 'type' => 'meta',
2445 'name' => 'taxassessedvalue',
2446 ),
2447 'TaxBlock' => array(
2448 'type' => 'meta',
2449 'name' => 'taxblock',
2450 ),
2451 'TaxBookNumber' => array(
2452 'type' => 'meta',
2453 'name' => 'taxbooknumber',
2454 ),
2455 'TaxLegalDescription' => array(
2456 'type' => 'meta',
2457 'name' => 'taxlegaldescription',
2458 ),
2459 'TaxLot' => array(
2460 'type' => 'meta',
2461 'name' => 'taxlot',
2462 ),
2463 'TaxMapNumber' => array(
2464 'type' => 'meta',
2465 'name' => 'taxmapnumber',
2466 ),
2467 'TaxOtherAnnualAssessmentAmount' => array(
2468 'type' => 'meta',
2469 'name' => 'taxotherannualassessmentamount',
2470 ),
2471 'TaxParcelLetter' => array(
2472 'type' => 'meta',
2473 'name' => 'taxparcelletter',
2474 ),
2475 'TaxStatusCurrent' => array(
2476 'type' => 'meta',
2477 'name' => 'taxstatuscurrent',
2478 ),
2479 'TaxTract' => array(
2480 'type' => 'meta',
2481 'name' => 'taxtract',
2482 ),
2483 'TaxYear' => array(
2484 'type' => 'meta',
2485 'name' => 'taxyear',
2486 ),
2487 'TenantPays' => array(
2488 'type' => 'meta',
2489 'name' => 'tenantpays',
2490 ),
2491 'Topography' => array(
2492 'type' => 'meta',
2493 'name' => 'topography',
2494 ),
2495 'TotalActualRent' => array(
2496 'type' => 'meta',
2497 'name' => 'totalactualrent',
2498 ),
2499 'Township' => array(
2500 'type' => 'meta',
2501 'name' => 'township',
2502 ),
2503 'TransactionBrokerCompensation' => array(
2504 'type' => 'meta',
2505 'name' => 'transactionbrokercompensation',
2506 ),
2507 'TransactionBrokerCompensationType' => array(
2508 'type' => 'meta',
2509 'name' => 'transactionbrokercompensationtype',
2510 ),
2511 'TrashExpense' => array(
2512 'type' => 'meta',
2513 'name' => 'trashexpense',
2514 ),
2515 'UnitNumber' => array(
2516 'type' => 'meta',
2517 'name' => 'unitnumber',
2518 ),
2519 'UnitsFurnished' => array(
2520 'type' => 'meta',
2521 'name' => 'unitsfurnished',
2522 ),
2523 'UnitTypes' => array(
2524 'type' => 'meta',
2525 'name' => 'unittypes',
2526 ),
2527 'UnitTypeType' => array(
2528 'type' => 'meta',
2529 'name' => 'unittypetype',
2530 ),
2531 'UniversalPropertyId' => array(
2532 'type' => 'meta',
2533 'name' => 'universalpropertyid',
2534 ),
2535 'UniversalPropertySubId' => array(
2536 'type' => 'meta',
2537 'name' => 'universalpropertysubid',
2538 ),
2539 'UnparsedAddress' => array(
2540 'type' => 'meta',
2541 'name' => 'property_address',
2542 ),
2543 'Utilities' => array(
2544 'type' => 'meta',
2545 'name' => 'utilities',
2546 ),
2547 'VacancyAllowance' => array(
2548 'type' => 'meta',
2549 'name' => 'vacancyallowance',
2550 ),
2551 'VacancyAllowanceRate' => array(
2552 'type' => 'meta',
2553 'name' => 'vacancyallowancerate',
2554 ),
2555 'Vegetation' => array(
2556 'type' => 'meta',
2557 'name' => 'vegetation',
2558 ),
2559 'VideosChangeTimestamp' => array(
2560 'type' => 'meta',
2561 'name' => 'videoschangetimestamp',
2562 ),
2563 'VideosCount' => array(
2564 'type' => 'meta',
2565 'name' => 'videoscount',
2566 ),
2567 'View' => array(
2568 'type' => 'meta',
2569 'name' => 'view',
2570 ),
2571 'ViewYN' => array(
2572 'type' => 'taxonomy',
2573 'name' => 'property_features',
2574 'insert' => 'Has a View',
2575 ),
2576 'VirtualTourURLBranded' => array(
2577 'type' => 'meta',
2578 'name' => 'virtualtoururlbranded',
2579 ),
2580 'VirtualTourURLUnbranded' => array(
2581 'type' => 'meta',
2582 'name' => 'embed_virtual_tour',
2583 ),
2584 'WalkScore' => array(
2585 'type' => 'meta',
2586 'name' => 'walkscore',
2587 ),
2588 'WaterBodyName' => array(
2589 'type' => 'meta',
2590 'name' => 'waterbodyname',
2591 ),
2592 'WaterfrontFeatures' => array(
2593 'type' => 'meta',
2594 'name' => 'waterfrontfeatures',
2595 ),
2596 'WaterfrontYN' => array(
2597 'type' => 'taxonomy',
2598 'name' => 'property_features',
2599 'insert' => 'Has Waterfront',
2600 ),
2601 'WaterSewerExpense' => array(
2602 'type' => 'meta',
2603 'name' => 'watersewerexpense',
2604 ),
2605 'WaterSource' => array(
2606 'type' => 'meta',
2607 'name' => 'watersource',
2608 ),
2609 'WindowFeatures' => array(
2610 'type' => 'meta',
2611 'name' => 'windowfeatures',
2612 ),
2613 'WithdrawnDate' => array(
2614 'type' => 'meta',
2615 'name' => 'withdrawndate',
2616 ),
2617 'WoodedArea' => array(
2618 'type' => 'meta',
2619 'name' => 'woodedarea',
2620 ),
2621 'WorkmansCompensationExpense' => array(
2622 'type' => 'meta',
2623 'name' => 'workmanscompensationexpense',
2624 ),
2625 'YearBuilt' => array(
2626 'type' => 'meta',
2627 'name' => 'yearbuilt',
2628 ),
2629 'YearBuiltDetails' => array(
2630 'type' => 'meta',
2631 'name' => 'yearbuiltdetails',
2632 ),
2633 'YearBuiltEffective' => array(
2634 'type' => 'meta',
2635 'name' => 'yearbuilteffective',
2636 ),
2637 'YearBuiltSource' => array(
2638 'type' => 'meta',
2639 'name' => 'yearbuiltsource',
2640 ),
2641 'YearEstablished' => array(
2642 'type' => 'meta',
2643 'name' => 'yearestablished',
2644 ),
2645 'YearsCurrentOwner' => array(
2646 'type' => 'meta',
2647 'name' => 'yearscurrentowner',
2648 ),
2649 'Zoning' => array(
2650 'type' => 'meta',
2651 'name' => 'zoning',
2652 ),
2653 'ZoningDescription' => array(
2654 'type' => 'meta',
2655 'name' => 'zoningdescription',
2656 ),
2657 );
2658 return $theme_schema;
2659 }
2660
2661
2662 function mlsimport_get_custom_post_type_taxonomies($post_type) {
2663 // Get the taxonomies associated with the custom post type
2664 $taxonomies = get_object_taxonomies($post_type , 'objects');
2665
2666 // Initialize an array to hold the slug => label pairs
2667 $taxonomy_array = array();
2668
2669 // Loop through the taxonomies and fill the array
2670 foreach ($taxonomies as $taxonomy_slug => $taxonomy) {
2671 $taxonomy_array[$taxonomy_slug] = $taxonomy->label;
2672 }
2673
2674 return $taxonomy_array;
2675 }
2676
2677
2678 /*
2679 *
2680 * Request list of ready to go MLS
2681 *
2682 *
2683 */
2684
2685 function mlsimport_allowed_html_tags_content() {
2686 // Define the allowable HTML tags and their attributes
2687 $allowed_tags = array(
2688 'a' => array(
2689 'href' => array(),
2690 'title' => array(),
2691 'rel' => array(),
2692 'target' => array(),
2693 ),
2694 'b' => array(),
2695 'i' => array(),
2696 'p' => array(),
2697 'br' => array(),
2698 'ul' => array(),
2699 'ol' => array(),
2700 'li' => array(),
2701 'strong' => array(),
2702 'em' => array(),
2703 'blockquote' => array(),
2704 'code' => array(),
2705 'pre' => array(),
2706 'select' => array( // Allow <select> and its attributes
2707 'name' => array(),
2708 'id' => array(),
2709 'class' => array(),
2710 'multiple' => array(),
2711 'required' => array(),
2712 ),
2713 'option' => array( // Allow <option> and its attributes
2714 'value' => array(),
2715 'selected' => array(),
2716 ),
2717 'div' => array( // Allow <div> and its attributes
2718 'id' => array(),
2719 'class' => array(),
2720 'style' => array(), // Use with caution, considering inline CSS security implications
2721 ),
2722 'h4' => array(
2723 'id' => array(),
2724 'class' => array(),
2725
2726 ),
2727 'label' => array(
2728 'id' => array(),
2729 'class' => array(),
2730
2731 ),
2732 'fieldset' => array(
2733 'id' => array(),
2734 'class' => array(),
2735
2736 ),
2737 'input' => array(
2738 'id' => array(),
2739 'class' => array(),
2740 'type' => array(),
2741 'name' => array(),
2742 'value' => array(),
2743 'checked'=>array()
2744
2745
2746 ),
2747 );
2748
2749
2750 return $allowed_tags;
2751 }
2752
2753
2754 /*
2755 *
2756 * Request list of ready to go MLS
2757 *
2758 *
2759 */
2760 function mlsimport_saas_request_list() {
2761
2762 $mls_data = get_transient( 'mlsimport_ready_to_go_mlsimport_data' );
2763
2764 if ( false === $mls_data ) {
2765 $theme_Start = new ThemeImport();
2766 $values = array();
2767
2768 $answer = $theme_Start::globalApiRequestSaas( 'mls', $values, 'GET' );
2769
2770 if ( isset( $answer['success'] ) && true === $answer['success'] ) {
2771 $mls_data = $answer['mls_list'];
2772 $mls_data['0'] = esc_html__( 'My MLS is not on this list', 'mlsimport' );
2773
2774 $autofill_array = array();
2775 foreach ( $mls_data as $key => $value ) {
2776 $temp_array = array(
2777 'label' => $value,
2778 'value' => $key,
2779 );
2780 $autofill_array[] = $temp_array;
2781 }
2782
2783 $mls_data = wp_json_encode( $autofill_array );
2784
2785 set_transient( 'mlsimport_ready_to_go_mlsimport_data', $mls_data, 60 * 60 * 24 );
2786 } else {
2787 $mls_data = array();
2788 $mls_data['0'] = esc_html__( 'We could not connect to MLSimport Api', 'mlsimport' );
2789 }
2790 }
2791
2792 return $mls_data;
2793 }
2794
2795
2796 /*
2797 * sanitize multidimensional array
2798 *
2799 *
2800 * */
2801 function mlsimport_sanitize_multi_dimensional_array($data){
2802 if ( is_array( $data ) ) {
2803 foreach ( $data as $key => $value ) {
2804 if ( is_array( $value ) ) {
2805 $data[ $key ] = mlsimport_sanitize_multi_dimensional_array( $value );
2806 } else {
2807
2808 $data[ $key ] = sanitize_text_field( wp_unslash( $value ));
2809 }
2810 }
2811 } else {
2812 $data = sanitize_text_field( wp_unslash( $data) );
2813 }
2814
2815 return $data;
2816 }
2817
2818
2819 /*
2820 * Lopp troght the listings and get Listing key
2821 *
2822 *
2823 *
2824 *
2825 *
2826 * */
2827
2828 function mlsimport_saas_reconciliation_event_function() {
2829
2830 global $mlsimport;
2831 $token = $mlsimport->admin->mlsimport_saas_get_mls_api_token_from_transient();
2832 $options = get_option( 'mlsimport_admin_options' );
2833
2834 if ( isset( $options['mlsimport_mls_name'] ) && '' !== $options['mlsimport_mls_name'] ) {
2835 $mlsimport->admin->mlsimport_saas_start_doing_reconciliation();
2836 }
2837 }
2838
2839 /*
2840 * Admin extra columns for MlsImport Items
2841 *
2842 *
2843 *
2844 *
2845 *
2846 * */
2847
2848 add_filter( 'manage_edit-mlsimport_item_columns', 'mlsimport_items_columns_admin' );
2849
2850 if ( ! function_exists( 'mlsimport_items_columns_admin' ) ) :
2851
2852 function mlsimport_items_columns_admin( $columns ) {
2853 $slice = array_slice( $columns, 2, 2 );
2854 unset( $columns['comments'] );
2855 unset( $slice['comments'] );
2856 $splice = array_splice( $columns, 2 );
2857
2858 $columns['mlsimport_items_params'] = esc_html__( 'Import Parameters', 'mlsimport' );
2859 $columns['mlsimport_last_action'] = esc_html__( 'Last action', 'mlsimport' );
2860 $columns['mlsimport_autoupdates'] = esc_html__( 'Auto Update Enabled', 'mlsimport' );
2861
2862 return array_merge( $columns, array_reverse( $slice ) );
2863 }
2864
2865 endif; // end wpestate_my_columns
2866
2867
2868
2869
2870 /*
2871 * Admin extra columns for MlsImport Items - Populate with data display value
2872 *
2873 *
2874 *
2875 *
2876 *
2877 * */
2878 function mlsimport_populate_columns_params_display_value( $value ) {
2879 $display_value = '';
2880 if ( is_array( $value ) ) {
2881 foreach ( $value as $key_item => $item_name ) :
2882 $display_value .= $item_name . ',';
2883 endforeach;
2884 $display_value = rtrim( $display_value, ',' );
2885 } else {
2886 $display_value = $value;
2887 }
2888
2889 return $display_value;
2890 }
2891 /*
2892 * Admin extra columns for MlsImport Items - Populate with data
2893 *
2894 *
2895 *
2896 *
2897 *
2898 * */
2899
2900 function mlsimport_populate_columns_params_display( $postID ) {
2901 global $mlsimport;
2902 $field_import = $mlsimport->admin->mlsimport_saas_return_mls_fields();
2903
2904 $select_all_none = array(
2905 'InternetAddressDisplayYN',
2906 'InternetEntireListingDisplayYN',
2907 'PostalCode',
2908 'ListAgentKey',
2909 'ListAgentMlsId',
2910 'ListOfficeKey',
2911 'ListOfficeMlsId',
2912 'ListingID',
2913 'StandardStatus',
2914 'extraCity',
2915 'extraCounty',
2916 'Exclude_ListOfficeKey',
2917 'Exclude_ListOfficeMlsId',
2918 'Exclude_ListAgentKey',
2919 'Exclude_ListAgentMlsId',
2920 'MLSAreaMajor',
2921 'SubdivisionName',
2922
2923 );
2924 foreach ( $field_import as $key => $field ) :
2925 $display_value = '';
2926 $name_check = strtolower( 'mlsimport_item_' . $key . '_check' );
2927 $name = strtolower( 'mlsimport_item_' . $key );
2928
2929 $value = get_post_meta( $postID, $name, true );
2930 $value_check = get_post_meta( $postID, $name_check, true );
2931
2932 $is_checkbox_admin = 0;
2933 if ( 1 === intval($value_check) ) {
2934 $is_checkbox_admin = 1;
2935 }
2936
2937 if ( ! in_array( $key, $select_all_none ) ) {
2938 if ( 1 === intval($is_checkbox_admin) ) {
2939 $display_value = esc_html__( 'ALL', 'mlsimport' );
2940 } else {
2941 $display_value = mlsimport_populate_columns_params_display_value( $value );
2942 }
2943 } else {
2944 $display_value = mlsimport_populate_columns_params_display_value( $value );
2945 }
2946
2947 if ( '' !== $display_value ) { ?>
2948 <strong>
2949 <?php
2950 print esc_html( ucfirst( str_replace( 'Select ', '', $field['label'] ) ) );
2951 ?>
2952 :</strong>
2953 <?php
2954 print esc_html($display_value).'</br>';
2955
2956 }
2957 endforeach;
2958 }
2959
2960
2961
2962 add_action( 'manage_posts_custom_column', 'mlsimport_populate_columns' );
2963 if ( ! function_exists( 'mlsimport_populate_columns' ) ) :
2964
2965 function mlsimport_populate_columns( $column ) {
2966
2967 global $post;
2968
2969 if ( 'mlsimport_items_params' === $column ) {
2970 $mlsimport_item_min_price = floatval( get_post_meta( $post->ID, 'mlsimport_item_min_price', true ) );
2971 $mlsimport_item_max_price = floatval( get_post_meta( $post->ID, 'mlsimport_item_max_price', true ) );
2972 ?>
2973
2974
2975 <!-- Strong tag for emphasizing the label -->
2976 <strong>
2977 <?php esc_html_e('Minimum price:', 'mlsimport'); ?>
2978 </strong>
2979
2980 <?php echo esc_html($mlsimport_item_min_price); ?><br>
2981
2982 <strong>
2983 <?php esc_html_e('Maximum price:', 'mlsimport'); ?>
2984 </strong>
2985
2986 <?php echo esc_html($mlsimport_item_max_price); ?><br>
2987 <?php
2988
2989 mlsimport_populate_columns_params_display( $post->ID );
2990 } elseif ( 'mlsimport_last_action' === $column ) {
2991 $last_date = get_post_meta( $post->ID, 'mlsimport_last_date', true );
2992 if ( '' !== $last_date ) {
2993 print esc_html($last_date) . ' </br>';
2994 esc_html_e( 'On this date we found new or edited listings.', 'mlsimport' );
2995 } else {
2996 esc_html_e( 'Not available - sync option may be off.', 'mlsimport' );
2997 }
2998 } elseif ( 'mlsimport_autoupdates' === $column ) {
2999 $mlsimport_item_stat_cron = esc_html( get_post_meta( $post->ID, 'mlsimport_item_stat_cron', true ) );
3000
3001 if ( intval( $mlsimport_item_stat_cron ) > 0 ) {
3002 ?>
3003 yes
3004 <?php
3005 } else {
3006 ?>
3007 no
3008 <?php
3009 }
3010 }
3011 }
3012 endif;
3013
3014
3015
3016 function mlsimport_reset_plugin_data() {
3017
3018
3019 global $wpdb;
3020
3021 // Remove all options stored by MLSImport
3022 $option_names = $wpdb->get_col( $wpdb->prepare( "SELECT option_name FROM {$wpdb->options} WHERE option_name LIKE %s", $wpdb->esc_like( 'mlsimport_' ) . '%' ) );
3023 foreach ( $option_names as $option_name ) {
3024 delete_option( $option_name );
3025 delete_site_option( $option_name );
3026 }
3027
3028 // Remove transients created by MLSImport
3029 $transient_patterns = array( '_transient_mlsimport_%', '_site_transient_mlsimport_%' );
3030 foreach ( $transient_patterns as $pattern ) {
3031 $names = $wpdb->get_col( $wpdb->prepare( "SELECT option_name FROM {$wpdb->options} WHERE option_name LIKE %s", $pattern ) );
3032 foreach ( $names as $name ) {
3033 if ( strpos( $name, '_site_transient_' ) === 0 ) {
3034 $transient = substr( $name, strlen( '_site_transient_' ) );
3035 delete_site_transient( $transient );
3036 } else {
3037 $transient = substr( $name, strlen( '_transient_' ) );
3038 delete_transient( $transient );
3039 }
3040 }
3041 }
3042
3043 return true;
3044 }