Action hooks reference

Posted on 25 August, 2020

Category:

References

Topic:

APIs

Maps

mmp_save_map

Triggers when a map is saved (created or updated)


Parameters

$id
(int) Map ID
$map
(array) Multidimensional array of map data
$new
(bool) Whether a new map was created

Changelog

Version Description
4.12 Introduced

mmp_add_map

Triggers when a map is created


Parameters

$id
(int) Map ID
$map
(array) Multidimensional array of map data

Changelog

Version Description
4.12 Introduced

mmp_update_map

Triggers when a map is updated


Parameters

$id
(int) Map ID
$map
(array) Multidimensional array of map data

Changelog

Version Description
4.12 Introduced

Markers

mmp_save_marker

Triggers when a marker is saved (created or updated)


Parameters

$id
(int) Marker ID
$marker
(array) Multidimensional array of marker data
$new
(bool) Whether a new marker was created

Changelog

Version Description
4.12 Introduced

mmp_add_marker

Triggers when a marker is created


Parameters

$id
(int) Marker ID
$marker
(array) Multidimensional array of marker data

Changelog

Version Description
4.12 Introduced

mmp_update_marker

Triggers when a marker is updated


Parameters

$id
(int) Marker ID
$marker
(array) Multidimensional array of marker data

Changelog

Version Description
4.12 Introduced