A WordPress-centric search engine for devs and theme authors



automatic_updates_is_vcs_checkout ›

Since3.7.0
Deprecatedn/a
apply_filters( 'automatic_updates_is_vcs_checkout', $checkout, $context )
Parameters: (2)
  • (bool) $checkout Whether a VCS checkout was discovered at $context or ABSPATH, or anywhere higher.
    Required: Yes
  • (string) $context The filesystem context (a path) against which filesystem status should be checked.
    Required: Yes
Defined at:
Codex:

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





Source

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