We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9269694 commit 1c175edCopy full SHA for 1c175ed
src/Donations/Actions/LoadDonationOptions.php
@@ -33,7 +33,7 @@ private function getDonationOptions(): array
33
return [
34
'isAdmin' => $isAdmin,
35
'adminUrl' => admin_url(),
36
- 'apiRoot' => rest_url(DonationRoute::NAMESPACE . '/' . DonationRoute::DONATIONS),
+ 'apiRoot' => rest_url(DonationRoute::NAMESPACE . '/' . DonationRoute::BASE),
37
'apiNonce' => wp_create_nonce('wp_rest'),
38
'donationsAdminUrl' => admin_url('edit.php?post_type=give_forms&page=give-payment-history'),
39
'currency' => give_get_currency(),
0 commit comments