Skip to content
Snippets Groups Projects
hooks.md 606 B
Newer Older
  • Learn to ignore specific revisions
  • mattwire's avatar
    mattwire committed
    # Hooks
    
    In release 5.2 we introduce a framework for hooks, in a similar way to the org.civicrm.smartdebit extension.
    
    In order to support other extensions that manipulate amounts etc we need to add additional hooks and call existing ones in more places.
    
    Currently only a single hook is implemented, and is only called in one place. 
    
    
    #### hook_civicrm_stripe_updateRecurringContribution(&$recurContributionParams)
    
    mattwire's avatar
    mattwire committed
    This hook allows modifying recurring contribution parameters during update.
    
    * @param array $recurContributionParams Recurring contribution params (ContributionRecur.create API parameters).