automatic_updates_is_vcs_checkout
apply_filters( ‘automatic_updates_is_vcs_checkout’, bool $checkout , string $context )
过滤器::过滤自动更新程序是否应该考虑由版本控制系统潜在管理的文件系统位置。
Filter Hook: Filters whether the automatic updater should consider a filesystem location to be potentially managed by a version control system.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$checkout | (bool) | 无论是在$context或ABSPATH或更高的位置发现VCS签出。 |
$context | (string) | 应根据其检查文件系统状态的文件系统上下文(路径)。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.7.0 | wp-admin/includes/class-wp-automatic-updater.php:120 | 2 | 0 |
automatic_updates_is_vcs_checkout 为WP2原创文章,链接:https://www.wp2.cn/hook/automatic_updates_is_vcs_checkout/