I can’t find this event in the WP dashboard in order to overwrite the functionality.
Also I am thinking of creating a filter with the hook hivepress/v1/emails/listing_submit, but I think I don’t have access to the variable %user_name%, because it doesn’t work when I modify the $email[‘body’].
I have been checking that the user is defined as a token in the constructor, so it should be accesible like other tokens such as %listing_title% or %listing_url%, but user is defined in this way:
'user' => hivepress()->request->get_user(),
But defining “user” in this way, it is an array. How is it possible to access the data from the array in the constructor? If it’s not possible, is it a bug?