X7ROOT File Manager
Current Path:
/home/oakwood/public_html/wp-content/plugins/wp-mail-smtp/src/Admin/Pages
home
/
oakwood
/
public_html
/
wp-content
/
plugins
/
wp-mail-smtp
/
src
/
Admin
/
Pages
/
ðŸ“
..
📄
About.php
(1.52 KB)
📄
AboutTab.php
(32.31 KB)
📄
ActionSchedulerTab.php
(3.13 KB)
📄
AdditionalConnectionsTab.php
(5.31 KB)
📄
AlertsTab.php
(16.83 KB)
📄
AuthTab.php
(1.28 KB)
📄
ControlTab.php
(13.11 KB)
📄
DebugEventsTab.php
(16.48 KB)
📄
EmailReports.php
(714 B)
📄
EmailReportsTab.php
(5.29 KB)
📄
ExportTab.php
(5.59 KB)
📄
Logs.php
(1016 B)
📄
LogsTab.php
(5.81 KB)
📄
MiscTab.php
(18.09 KB)
📄
SettingsTab.php
(13.44 KB)
📄
SmartRoutingTab.php
(13.11 KB)
📄
TestTab.php
(65.52 KB)
📄
Tools.php
(687 B)
📄
VersusTab.php
(7.17 KB)
Editing: AuthTab.php
<?php namespace WPMailSMTP\Admin\Pages; use WPMailSMTP\ConnectionInterface; use WPMailSMTP\Providers\AuthAbstract; /** * Class AuthTab. * * @since 1.0.0 */ class AuthTab { /** * @var string Slug of a tab. */ protected $slug = 'auth'; /** * Launch mailer specific Auth logic. * * @since 1.0.0 */ public function process_auth() { $connection = wp_mail_smtp()->get_connections_manager()->get_primary_connection(); /** * Filters auth connection object. * * @since 3.7.0 * * @param ConnectionInterface $connection The Connection object. */ $connection = apply_filters( 'wp_mail_smtp_admin_pages_auth_tab_process_auth_connection', $connection ); $auth = wp_mail_smtp()->get_providers()->get_auth( $connection->get_mailer_slug(), $connection ); if ( $auth && $auth instanceof AuthAbstract && method_exists( $auth, 'process' ) ) { $auth->process(); } } /** * Return nothing, as we don't need this functionality. * * @since 1.0.0 */ public function get_label() { return ''; } /** * Return nothing, as we don't need this functionality. * * @since 1.0.0 */ public function get_title() { return ''; } /** * Do nothing, as we don't need this functionality. * * @since 1.0.0 */ public function display() { } }
Upload File
Create Folder