VGM – edit entered data

New home Forums Pro Add-on VGM – edit entered data

Tagged: 

  • This topic has 0 replies, 1 voice, and was last updated 4 years ago by Perry.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #59499
    mfoltin
    Member

    Hi,

    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 4 years ago by mfoltin.
    #59506
    Perry
    Moderator

    Hi Martin

    Thank you for getting in touch.

    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

    Is there anything else we can help you with?

    Kind regards
    – Perry

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.