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



pre_auto_update › WordPress动作钩子

Since4.4.0
已弃用n/a
do_action( 'pre_auto_update', $type, $item, $context )
参数: (3)
  • (string) $type The type of update being checked: 'core', 'theme', 'plugin', or 'translation'.
    Required: Yes
  • (object) $item The update offer.
    Required: Yes
  • (string) $context The filesystem context (a path) against which filesystem access and status should be checked.
    Required: Yes
定义在:
文档:

Fires immediately prior to an auto-update.





源码

do_action( 'pre_auto_update', $type, $item, $context );