Hi Ihor/team!
We’re trying to retrieve the data from the messages section to send customized emails via mailchimp/mandrill without using the HivePress email feature / wp_mail.
Basically, this is already working when we’re integrating our trigger into
add_action ('hivepress/v1/forms/message_send', function ($form) {
Open question:
How can we retrieve the relevant data from class-message or class-message-send ?
With e. g.
hivepress()->translator->get_string( 'send_message' );
we’re getting the label of the button, ok, but how to get the relevant data for the textarea
or the tokens (%user_name%, %message_url%, %message_text%, %message%, %sender%, %reciepient%) ?
Many thanks in advance!
Flo & team