Filter hook 'automatic_updates_is_vcs_checkout'

in WP Core File wp-admin/includes/class-wp-automatic-updater.php at line 178

Description

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

Occurrences

Filename Line Number
wp-admin/includes/class-wp-automatic-updater.php 178
wp-admin/includes/class-wp-site-health-auto-updates.php 239

Parameters

Type Name Description
bool $checkout Whether a VCS checkout was discovered at `$context` or ABSPATH, or anywhere higher.
string $context The filesystem context (a path) against which filesystem status should be checked.

PHP Doc

/**
		 * Filters whether the automatic updater should consider a filesystem
		 * location to be potentially managed by a version control system.
		 *
		 * @since 3.7.0
		 *
		 * @param bool $checkout  Whether a VCS checkout was discovered at `$context`
		 *                        or ABSPATH, or anywhere higher.
		 * @param string $context The filesystem context (a path) against which
		 *                        filesystem status should be checked.
		 */