Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
BeycanDeveloper committed Jul 20, 2024
1 parent e1f3c27 commit 2293c25
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function __construct()
['orderId']
);

Hook::addFilter('edit_config_data_cf7', [$this, 'disableReminderEmail']);
Hook::addFilter('payment_redirect_urls_cf7', [$this, 'paymentRedirectUrls']);

if (Helpers::exists()) {
Expand All @@ -34,6 +35,15 @@ public function __construct()
}
}

/**
* @param object $data
* @return object
*/
public function disableReminderEmail(object $data): object
{
return $data->disableReminderEmail();
}

/**
* @param object $data
* @return array<string>
Expand Down

0 comments on commit 2293c25

Please sign in to comment.