Viewing 1 replies (of 1 total)
  • Plugin Author WPCharitable

    (@wpcharitable)

    You can use the charitable_after_save_donation hook. It provides the donation ID as the first parameter, and you can use the donation ID to retrieve the donation and then the donor:

    $donation = charitable_get_donation( $donation_id );
    $donor = $donation->get_donor()->get_email();
    

    Cheers,
    Eric

Viewing 1 replies (of 1 total)
  • The topic ‘Hook to send custom email after donation pending received’ is closed to new replies.