I’d like to automatically edit some information entered by a user via VGM (especially description field). Is there, please, an easy way to perform that somehow?
If not.. Something like an before-insert DB trigger came up my mind. Would that be safe regarding future plugin updates? Or do you have any other suggestion which might be easier to implement?
Thanks a lot in advance!
BR
Martin Foltin
This topic was modified 3 years, 6 months ago by mfoltin.
You can actually use the wpgmza_ugm_marker_submitted action in PHP, this receives one argument, which is an instance of WPGMZAMarker. Documentation on that module can be found here https://wpgmaps.com/docs/php/class-WPGMZA.Marker.html