Skip to:
Content
Pages
Categories
Search
Top
Bottom

Create custom situations for emails

  • @russelljcgps

    Participant

    Working to customize emails based on activities posted in activity. However, I cannot findout how to create custom situations.

    Trying to customize the script from: https://codex.buddypress.org/emails/custom-emails/
    No luck. I cannot find the taxonomy/terms for ‘post_received_comment’ in order to find the information to change the trigger.

    Any insights out there?

Viewing 7 replies - 1 through 7 (of 7 total)
  • @venutius

    Moderator

    I loaded this code on a test site and it worked for me, is it your customisations that are not working or the code as is?

    @russelljcgps

    Participant

    It works for comments. I wanted to modify it but I cannot find where to see a list of the object terms.

    @venutius

    Moderator

    Do you mean the action that triggers the email, they are in the WordPress Action reference I think:

    https://codex.wordpress.org/Plugin_API/Action_Reference

    @russelljcgps

    Participant

    Ah. So can I assume that ‘post_received_comment’ is a custom action?

    @venutius

    Moderator

    no, from my reading of the document the ‘post_received_comment’ is a custom term that’s has been applied to the email that was created. So it could have been called anything.

    @russelljcgps

    Participant

    I see.

    @russelljcgps

    Participant

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Create custom situations for emails’ is closed to new replies.
Skip to toolbar