I want to alter the contribution source field so that I can add custom data in the pattern shown below
[Payment Type] - Online Payment - [Contribution Page title]
I am planning to use hook_civicrm_pre where $op == Contribution and alter the value based on the Contribution Object Data available ? Is that the correct method ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.