automatic_updates_is_vcs_checkout

最后更新于:2021-11-25 21:05:12

apply_filters( ‘automatic_updates_is_vcs_checkout’, bool $checkout, string $context )

Filters whether the automatic updater should consider a filesystem location to be potentially managed by a version control system.

参数

$checkout

(bool)
Whether a VCS checkout was discovered at $context or ABSPATH, or anywhere higher.

$context

(string)
The filesystem context (a path) against which filesystem status should be checked.

源文件

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

View on Trac