W3cubDocs

/WordPress

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.

Parameters

$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.

Source

File: wp-admin/includes/class-wp-automatic-updater.php

View on Trac

Changelog

Version Description
3.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/automatic_updates_is_vcs_checkout