Thank you for that fast replies!
I couldn’t found what I search in the email tag post. Though I really would be happy if I could make a Tag like [#phonenumber#]. That was the first thought I had. If I could understand the way, the other tags are made, I could make my own, perhaps with the field ID. (Im more used to JS than to PHP) When I didn’t made it work, I thought, I could try to manipulate an existing tag. Which seems to be out of my knowledge as well. 🙁
At least I wasn’t totally wrong with the filters, as it seems with the solution from Stiofan OConnor, that’s the way to do it.
How ever, I think I don’t get it wright, because it seems, that I don’t understand, where to put the filter.
Now, how I understud it:
I have to find the definition of the the default variable
[#extras#]
which is basically
$extras
in the code.
And I found this:
$extras = apply_filters('uwp_send_mail_extras', "", $message_type, $user_id);
The queries I found, seemed to be the wrong ones. And I don’t find in the PHP files a other definition of
$extras
, nor a filter or query, I could connect to this definition. So I thought, I had to put a code like the one from Stiofan OConnor either after the equal sign or in to the brackets. But obviously that’s a wrong thought.
Where do I have to put the
add_filter(...)
code.
Ususal I try to figure out such stuff more by my self. But I some how really don’t get it and I’m running out of time a bit. So I really appreciate your Help.
Thank you and for your patience.