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
166
Rate this reference

You are not allowed to rate this post.

Comments or further questions?

If you're looking for technical support please click here, for all other questions please use our contact form to get in touch! We´re looking forward to hearing from you!

Your Maps Marker Pro team