wpseek.com
WordPress开发者和主题制作者的搜索引擎



automatic_updates_is_vcs_checkout › WordPress过滤钩子

Since3.7.0
已弃用n/a
apply_filters( 'automatic_updates_is_vcs_checkout', $checkout, $context )
参数: (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
定义在:
文档:

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





源码

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