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



wp_creating_autosave › WordPress动作钩子

Since6.4.0
已弃用n/a
do_action( 'wp_creating_autosave', $new_autosave, true )
参数: (2)
  • (array) $new_autosave Post array - the autosave that is about to be saved.
    Required: Yes
  • (bool) $is_update Whether this is an existing autosave.
    Required: Yes
定义在:
文档:

Fires before an autosave is stored.





源码

do_action( 'wp_creating_autosave', $new_autosave, true );