Action hooks reference

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

mmp_delete_map

Triggers when a map is deleted


Parameters

$id
(int) Map ID

Changelog

Version Description
4.26 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

mmp_delete_marker

Triggers when a marker is deleted


Parameters

$id
(int) Marker ID

Changelog

Version Description
4.26 Introduced

Updated on 04 September 2023