diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-09-13 11:29:33 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-09-13 11:29:33 +0000 |
commit | caa73945f9fe69875171ea2aade2c53e60b21bbe (patch) | |
tree | dbcc35d42a519d3796c82c3942891226a425c2e7 /Postman/PostmanViewController.php | |
parent | 5f134fb5839bf3e161385727c2a2009b54444878 (diff) | |
download | Post-SMTP-caa73945f9fe69875171ea2aade2c53e60b21bbe.zip |
hooks + sanitize bug
Diffstat (limited to 'Postman/PostmanViewController.php')
-rw-r--r-- | Postman/PostmanViewController.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Postman/PostmanViewController.php b/Postman/PostmanViewController.php index 726880b..050033f 100644 --- a/Postman/PostmanViewController.php +++ b/Postman/PostmanViewController.php @@ -347,7 +347,11 @@ if ( ! class_exists( 'PostmanViewController' ) ) { print '<ul>'; // Grant permission with Google + ob_start(); PostmanTransportRegistry::getInstance()->getSelectedTransport()->printActionMenuItem(); + $oauth_link = ob_get_clean(); + + echo apply_filters( 'post_smtp_oauth_actions', $oauth_link ); if ( PostmanWpMailBinder::getInstance()->isBound() ) { printf( '<li><a href="%s" class="welcome-icon send_test_email">%s</a></li>', $this->getPageUrl( PostmanSendTestEmailController::EMAIL_TEST_SLUG ), __( 'Send a Test Email', 'post-smtp' ) ); |