commented som debug console in map prof hook
This commit is contained in:
Binary file not shown.
@@ -59,14 +59,14 @@ function mp_ljdp_map() {
|
|||||||
$events = mp_get_published_events(); // mp_get_events.php
|
$events = mp_get_published_events(); // mp_get_events.php
|
||||||
//mp_console_log("events: ");
|
//mp_console_log("events: ");
|
||||||
//mp_console_log($events);
|
//mp_console_log($events);
|
||||||
foreach ($events as $event) {
|
//foreach ($events as $event) {
|
||||||
if (gettype($event->categorie) === "array") {
|
// if (gettype($event->categorie) === "array") {
|
||||||
mp_console_log($event->categorie);
|
// mp_console_log($event->categorie);
|
||||||
}
|
// }
|
||||||
if (str_starts_with($event->categorie, '["')) {
|
// if (str_starts_with($event->categorie, '["')) {
|
||||||
mp_console_log($event->categorie);
|
// mp_console_log($event->categorie);
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
|
|
||||||
$locations = mp_sort_events($events); // mp_get_locations.php
|
$locations = mp_sort_events($events); // mp_get_locations.php
|
||||||
//mp_console_log("locations: ");
|
//mp_console_log("locations: ");
|
||||||
|
|||||||
Reference in New Issue
Block a user