summaryrefslogtreecommitdiff
path: root/Postman/PostmanViewController.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/PostmanViewController.php')
-rw-r--r--Postman/PostmanViewController.php4
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' ) );