文件操作 - Alert.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/rokpaw/public_html/wp-content/plugins/wp-mail-smtp-pro/src/Pro/Alerts/Alert.php
编辑文件内容
<?php namespace WPMailSMTP\Pro\Alerts; /** * Class Alert. * * @since 3.5.0 */ class Alert { /** * Alert type. * * @since 3.5.0 * * @var string */ private $type; /** * Alert data. * * @since 3.5.0 * * @var array */ private $data; /** * Constructor. * * @since 3.5.0 * * @param string $type Alert type. * @param array $data Alert data. */ public function __construct( $type, $data ) { $this->type = $type; $this->data = $data; } /** * Get alert type. * * @since 3.5.0 * * @return string */ public function get_type() { return $this->type; } /** * Get alert data. * * @since 3.5.0 * * @return array */ public function get_data() { return $this->data; } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件