Skip to content

Commit

Permalink
refactor: change hook name
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubersilva committed Sep 3, 2024
1 parent 90a9cb6 commit 5c8cadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OffSiteGateway/OffSiteGatewayServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ function (PaymentGatewayRegister $registrar) {
Hooks::addAction('init', OffSiteCheckoutPageSimulation::class);

// Add Async Event Handlers
Hooks::addAction('givewp_off-site_gateway_sample_event_donation_completed', DonationCompleted::class);
Hooks::addAction('givewp_' . OffSiteGateway::id() . '_event_donation_completed', DonationCompleted::class);
}
}

0 comments on commit 5c8cadc

Please sign in to comment.