automatic_updates_is_vcs_checkout WordPress Filter Hook

The automatic_updates_is_vcs_checkout filter allows you to control whether or not the WordPress automatic updates system will check for updates to installed plugins and themes from a version control system (VCS).

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.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.