SUZUKI SWIFT (2025)
SUZUKI 1.2 GL+ CVT
R 229 950
Range:
SWIFT
Year:
2025
Mileage:
22 655km
Colour:
White
Transmission:
AUTOMATIC
Fuel:
UNLEADED
Vehicle ID:
28806101
Available from Barons Durban
<?php
$post_id = get_the_id();
$custom_fields = get_post_meta($post_id);
echo $custom_fields['mmcode'][0] . '<br />';
echo print_r($custom_fields);
if (empty($custom_fields)) {
error_log("No custom fields found for post ID: $post_id");
return;
}
error_log("Custom fields for post ID $post_id:");
foreach ($custom_fields as $key => $value) {
// $value is always an array
if (is_array($value)) {
foreach ($value as $val) {
error_log("$key => $val");
}
} else {
error_log("$key => $value");
}
}
?>Similar Listings
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_12.jpg
SUZUKI
SWIFT
(2023)
SUZUKI 1.2I GL
Array
(
[vehicleid] => Array
(
[0] => 28804607
)
[dumpdate] => Array
(
[0] => 2026-01-18T00:19:25.437
)
[mmcode] => Array
(
[0] => 59007081
)
[molstockbooknumber] => Array
(
[0] => MOL01342_U0071441
)
[stockbooknumber] => Array
(
[0] => U0071441
)
[vinnumber] => Array
(
[0] => MBHCZC63S00C51916
)
[regnumber] => Array
(
[0] => CF223850
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => SUZUKI
)
[vehiclerange] => Array
(
[0] => SWIFT
)
[vehiclemodel] => Array
(
[0] => 1.2I GL
)
[vehicleyear] => Array
(
[0] => 2023
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => WHITE
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 43681
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => Barons Bellville MasterCars.
We can demo on your doorstep anywhere in the Cape Peninsula! Finance with all major banks, insurance arranged, trade-ins are welcome.
Awesome after sales service.
Superbly looked after vehicles.
Delivery can be arranged countrywide.
Our Sales Staff will arrange everything for you! Give us a call & we will do the rest.
We make it easy for YOU to buy a car! Optional warranties, service and maintenance plans available.
Prices exclude “On the Road” and Delivery costs.
This is a very clean example.
One owner from new.
Full and diligent Suzuki service history.
Balance of warranty.
)
[price] => Array
(
[0] => 189899
)
[dealershipid] => Array
(
[0] => 49
)
[molnumber] => Array
(
[0] => MOL01342
)
[dealershipname] => Array
(
[0] => Barons Bellville
)
[pictures] => Array
(
[0] => a:12:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071441_12.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => MBHCZC63S00C51916
)
)
1
MBHCZC63S00C51916
MBHCZC63S00C51916
Colour: WHITE
MOL01342
28804607
28804607
Enquire
<?php
$post_id = get_the_id();
$custom_fields = get_post_meta($post_id);
echo $custom_fields['mmcode'][0] . '<br />';
echo print_r($custom_fields);
if (empty($custom_fields)) {
error_log("No custom fields found for post ID: $post_id");
return;
}
error_log("Custom fields for post ID $post_id:");
foreach ($custom_fields as $key => $value) {
// $value is always an array
if (is_array($value)) {
foreach ($value as $val) {
error_log("$key => $val");
}
} else {
error_log("$key => $value");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_10.jpg
SUZUKI
SWIFT
(2025)
SUZUKI 1.2 GL MT
Array
(
[vehicleid] => Array
(
[0] => 28806098
)
[dumpdate] => Array
(
[0] => 2026-01-18T00:27:50.717
)
[mmcode] => Array
(
[0] => 59007082
)
[molstockbooknumber] => Array
(
[0] => MOL01182_U0071030
)
[stockbooknumber] => Array
(
[0] => U0071030
)
[vinnumber] => Array
(
[0] => MBHZCDESR00226305
)
[regnumber] => Array
(
[0] => MC57WFGP
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => SUZUKI
)
[vehiclerange] => Array
(
[0] => SWIFT
)
[vehiclemodel] => Array
(
[0] => 1.2 GL MT
)
[vehicleyear] => Array
(
[0] => 2025
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => White
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 18030
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] =>
)
[price] => Array
(
[0] => 199950
)
[dealershipid] => Array
(
[0] => 35
)
[molnumber] => Array
(
[0] => MOL01182
)
[dealershipname] => Array
(
[0] => Barons Durban
)
[pictures] => Array
(
[0] => a:10:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071030_10.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => MBHZCDESR00226305
)
)
1
MBHZCDESR00226305
MBHZCDESR00226305
Colour: White
MOL01182
28806098
28806098
Enquire
<?php
$post_id = get_the_id();
$custom_fields = get_post_meta($post_id);
echo $custom_fields['mmcode'][0] . '<br />';
echo print_r($custom_fields);
if (empty($custom_fields)) {
error_log("No custom fields found for post ID: $post_id");
return;
}
error_log("Custom fields for post ID $post_id:");
foreach ($custom_fields as $key => $value) {
// $value is always an array
if (is_array($value)) {
foreach ($value as $val) {
error_log("$key => $val");
}
} else {
error_log("$key => $value");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_15.jpg
SUZUKI
SWIFT
(2023)
SUZUKI 1.2 GLX
Array
(
[vehicleid] => Array
(
[0] => 28804751
)
[dumpdate] => Array
(
[0] => 2026-01-18T00:20:00.95
)
[mmcode] => Array
(
[0] => 59007090
)
[molstockbooknumber] => Array
(
[0] => MOL01433_U0071598
)
[stockbooknumber] => Array
(
[0] => U0071598
)
[vinnumber] => Array
(
[0] => MBHCZC63S00C52389
)
[regnumber] => Array
(
[0] => CAA525570
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => SUZUKI
)
[vehiclerange] => Array
(
[0] => SWIFT
)
[vehiclemodel] => Array
(
[0] => 1.2 GLX
)
[vehicleyear] => Array
(
[0] => 2023
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => Red
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 30108
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => Engine: 1.
2L, 3-cylinder petrol.
Power: 60 kW @ 5700 rpm.
Torque: 112 Nm @ 4300 rpm.
Transmission: 5-speed Manual (MT) Fuel Economy: Around 4.
4 - 4.
9 L/100km (combined).
Fuel Tank: 37 Litres.
Wheels: 15-inch Alloy Wheels.
Lighting: Halogen Projector Headlamps, Front Fog Lamps.
Infotainment: 7-inch Touchscreen with Apple CarPlay, Android Auto, MirrorLink.
Convenience: Reverse Camera, Bluetooth, USB/AUX.
)
[price] => Array
(
[0] => 209000
)
[dealershipid] => Array
(
[0] => 52
)
[molnumber] => Array
(
[0] => MOL01433
)
[dealershipname] => Array
(
[0] => Barons N1 City
)
[pictures] => Array
(
[0] => a:15:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071598_15.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => MBHCZC63S00C52389
)
)
1
MBHCZC63S00C52389
MBHCZC63S00C52389
Colour: Red
MOL01433
28804751
28804751
Enquire
<?php
$post_id = get_the_id();
$custom_fields = get_post_meta($post_id);
echo $custom_fields['mmcode'][0] . '<br />';
echo print_r($custom_fields);
if (empty($custom_fields)) {
error_log("No custom fields found for post ID: $post_id");
return;
}
error_log("Custom fields for post ID $post_id:");
foreach ($custom_fields as $key => $value) {
// $value is always an array
if (is_array($value)) {
foreach ($value as $val) {
error_log("$key => $val");
}
} else {
error_log("$key => $value");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_19.jpg
SUZUKI
SWIFT
(2025)
SUZUKI 1.2 GL MT
Array
(
[vehicleid] => Array
(
[0] => 28806692
)
[dumpdate] => Array
(
[0] => 2026-01-18T00:31:13.143
)
[mmcode] => Array
(
[0] => 59007082
)
[molstockbooknumber] => Array
(
[0] => MOL01400_U0070833
)
[stockbooknumber] => Array
(
[0] => U0070833
)
[vinnumber] => Array
(
[0] => MBHZCDESR00199097
)
[regnumber] => Array
(
[0] => MC38HTGP
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => SUZUKI
)
[vehiclerange] => Array
(
[0] => SWIFT
)
[vehiclemodel] => Array
(
[0] => 1.2 GL MT
)
[vehicleyear] => Array
(
[0] => 2025
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => WHITE
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 19113
)
[servicehistory] => Array
(
[0] =>
)
[comments] => Array
(
[0] =>
)
[price] => Array
(
[0] => 219900
)
[dealershipid] => Array
(
[0] => 10
)
[molnumber] => Array
(
[0] => MOL01400
)
[dealershipname] => Array
(
[0] => Barons Woodmead
)
[pictures] => Array
(
[0] => a:19:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_15.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_16.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_17.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_18.jpg";i:18;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070833_19.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => MBHZCDESR00199097
)
)
1
MBHZCDESR00199097
MBHZCDESR00199097
Colour: WHITE
MOL01400
28806692
28806692
Enquire
<?php
$post_id = get_the_id();
$custom_fields = get_post_meta($post_id);
echo $custom_fields['mmcode'][0] . '<br />';
echo print_r($custom_fields);
if (empty($custom_fields)) {
error_log("No custom fields found for post ID: $post_id");
return;
}
error_log("Custom fields for post ID $post_id:");
foreach ($custom_fields as $key => $value) {
// $value is always an array
if (is_array($value)) {
foreach ($value as $val) {
error_log("$key => $val");
}
} else {
error_log("$key => $value");
}
}
?>











