[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/ -> class-smtp.php (source)

   1  <?php
   2  
   3  /**
   4   * The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
   5   */
   6  _deprecated_file(
   7      basename( __FILE__ ),
   8      '5.5.0',
   9      WPINC . '/PHPMailer/SMTP.php',
  10      __( 'The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' )
  11  );
  12  
  13  require_once  __DIR__ . '/PHPMailer/SMTP.php';
  14  
  15  class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );


Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1