rcp_update_payment

Runs when a payment is about to be updated in the database. This triggers before the update.

Parameters:

  • $payment_id (int) - ID of the payment record.
  • $payment_data (array) - Array of data to update.