From ee4e4461dc0c1ffffc00fbde9698dd379153aa8f Mon Sep 17 00:00:00 2001 From: Yehuda Hassine Date: Mon, 22 Apr 2019 08:49:37 +0300 Subject: donate links --- .../Postman-Configuration/PostmanConfigurationController.php | 11 +++++++++++ Postman/PostmanAdminController.php | 1 + 2 files changed, 12 insertions(+) diff --git a/Postman/Postman-Configuration/PostmanConfigurationController.php b/Postman/Postman-Configuration/PostmanConfigurationController.php index 2b11b6c..d2c0350 100644 --- a/Postman/Postman-Configuration/PostmanConfigurationController.php +++ b/Postman/Postman-Configuration/PostmanConfigurationController.php @@ -591,6 +591,17 @@ class PostmanConfigurationController { printf( '
  • %s
  • ', __( 'Grant permission with the Email Provider for Postman to send email and', 'post-smtp' ) ); printf( '
  • %s
  • ', __( 'Send yourself a Test Email to make sure everything is working!', 'post-smtp' ) ); print ''; + ?> +

    It is hard to continue development and support for this free plugin without contributions from users like you. + If you enjoy using Post SMTP and find it useful, please consider making a donation. Your donation will + help encourage and support the plugin's continued development and better user support.

    +
    + + + + +
    + '; print ''; print ''; diff --git a/Postman/PostmanAdminController.php b/Postman/PostmanAdminController.php index 99cc6b8..f92bc2c 100644 --- a/Postman/PostmanAdminController.php +++ b/Postman/PostmanAdminController.php @@ -299,6 +299,7 @@ if ( ! class_exists( 'PostmanAdminController' ) ) { // only administrators should be able to trigger this if ( PostmanUtils::isAdmin() ) { $mylinks = array( + sprintf( '%s', 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehuda@myinbox.in&item_name=Donation+for+PostSMTP', __( 'Donate', 'post-smtp' ) ), sprintf( '%s', PostmanUtils::getSettingsPageUrl(), __( 'Settings', 'post-smtp' ) ), sprintf( '%s', 'https://postmansmtp.com', __( 'Visit us', 'post-smtp' ) ), ); -- cgit v1.2.3