pre_auto_update

pre_auto_update钩子是Wordpress钩子,动作钩子::在自动更新之前立即触发。

do_action( ‘pre_auto_update’, string $type, object $item, string $context )

参数(Parameters)

参数类型说明
$type(string)正在检查的更新类型:“core”、“theme”、“plugin”或“translation”。
$item(object)更新提议。
$context(string)应检查文件系统访问和状态的文件系统上下文(路径)。

源码(Source)

//暂无
更新版本源码位置使用被使用
4.4.0wp-admin/includes/class-wp-automatic-updater.php:31310
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索