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


Top ↑

Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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