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.

Top ↑


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

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

Top ↑


Version Description
3.7.0 Introduced.

Top ↑

User Contributed Notes

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