Filters whether the automatic updater should consider a filesystem location to be potentially managed by a version control system.
$checkoutbool$contextstringwp-admin/includes/class-wp-automatic-updater.php:178WP_Automatic_Updater::is_vcs_checkout()wp-admin/includes/class-wp-site-health-auto-updates.php:245WP_Site_Health_Auto_Updates::test_vcs_abspath() * * @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. */ return apply_filters( 'automatic_updates_is_vcs_checkout', $checkout, $context ); } /** * Tests to see if we can and should update a specific item. * * @since 3.7.0Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.