automatic_updater_disabled
apply_filters( ‘automatic_updater_disabled’, bool $disabled )
过滤器::过滤是否完全禁用后台更新。
Filter Hook: Filters whether to entirely disable background updates.
说明(Description)
有更多用于选择性禁用的细粒度过滤器和控件。此筛选器与名称中禁用的自动更新程序常量并行。
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$disabled | (bool) | 是否应禁用更新程序。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.7.0 | wp-admin/includes/class-wp-automatic-updater.php:55 | 2 | 0 |
automatic_updater_disabled 为WP2原创文章,链接:https://www.wp2.cn/hook/automatic_updater_disabled/