* memberdashboard.php (memberdashboard_civicrm_postProcess): New function.
}
}
}
+
+function memberdashboard_civicrm_postProcess($formName, &$form) {
+ // Redirect to Member Dashboard after updating billing info. The
+ // default behavior is to go to the standard CiviCRM dashboard,
+ // which is undesirable.
+ if($formName == 'CRM_Contribute_Form_UpdateBilling') {
+ CRM_Utils_System::redirect(CRM_Utils_System::url(
+ 'civicrm/member-dashboard'
+ ));
+ }
+}