auto_update_{$type}

最后更新于:2021-11-25 21:24:13

apply_filters( “auto_update_{$type}”, bool|null $update, object $item )

Filters whether to automatically update core, a plugin, a theme, or a language.

参数

$update

(bool|null)
Whether to update. The value of null is internally used to detect whether nothing has hooked into this filter.

$item

(object)
The update offer.

源文件

文件: gc-admin/includes/class-gc-automatic-updater.php

View on Trac