WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about automatic_updates_is_vcs_checkout

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-automatic-updater.php apply_filters 123 /**
* 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.
*/
wp-admin/includes/class-wp-site-health-auto-updates.php apply_filters 239 /**
* Checks if WordPress is controlled by a VCS (Git, Subversion etc).
*
* @since 5.2.0
*
* @return array The test results.
*/

Hook Parameters

Parameter Type Name Description
bool $checkout Whether a VCS checkout was discovered at `$context`
string $context The filesystem context (a path) against which