文件操作 - Provider.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/the-events-calendar/src/Events/Admin/Notice/Provider.php
编辑文件内容
<?php /** * Service Provider for interfacing with TEC\Common\Admin\Notice. * * @since * * @package TEC\Events\Admin\Notice */ namespace TEC\Events\Admin\Notice; use TEC\Common\Contracts\Service_Provider; /** * Class Provider * * @since * * @package TEC\Events\Admin\Notice */ class Provider extends Service_Provider { /** * Register implementations. * * @since */ public function register() { $this->container->singleton( Rest_Api::class, Rest_Api::class ); $this->add_actions(); $this->add_filters(); } /** * Add the action hooks. * * @since */ public function add_actions() { $this->container->make( Rest_Api::class )->hook(); } /** * Add the filter hooks. * * @since */ public function add_filters() { } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件