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

In this article

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

Parameters

$checkoutbool
Whether a VCS checkout was discovered at $context or ABSPATH, or anywhere higher.
$contextstring
The filesystem context (a path) against which filesystem status should be checked.

Source

return apply_filters( 'automatic_updates_is_vcs_checkout', $checkout, $context );

Changelog

VersionDescription
3.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.