Action hooks reference

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
0
0
47
Rate this reference

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

en English
X