Dominik Schendl

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: User Informations in admin email notification #1344

    Dominik Schendl
    Free User
    Post count: 2

    Hello,

    Just to close this. I tried it and failed horribly. XD
    Because I ran out of time, I hired a more experienced Programmer who created a new Mail Tag from scratch.

    I just wanted to thank for the help, regardless. I may could have done it, with more experience.

    Thanks!

    in reply to: User Informations in admin email notification #1261

    Dominik Schendl
    Free User
    Post count: 2

    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.

Viewing 2 posts - 1 through 2 (of 2 total)