• Resolved cyjack

    (@cyjack)


    Hello!
    I’m using GamiPress + AffiliateWP (+AffiliateWP integration), and I need to reward my users with points for affliates post writing.
    So, I need affiliate_write_post trigger.
    And it would be great to have a trigger affiliate_get_points (via GamiPress)

    Do you have any dev documentation?

Viewing 1 replies (of 1 total)
  • Plugin Author Ruben Garcia

    (@rubengc)

    Hi @cyjack

    We have not released a dev documentation yet, but you can take a look to all the free integrations to see how to register custom activity triggers and make them work

    For example for affiliate_write_post, check how GamiPress listen to post publishing and add your own but checking that author is an affiliate

    Also for affiliate_get_points you will need the same but hooking to the hooks triggered by the function gamipress_update_user_points()

    Hope It helps you

    Best regards

Viewing 1 replies (of 1 total)
  • The topic ‘Referrals activity triggers’ is closed to new replies.