wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_creating_autosave › WordPress Action Hooks

Since6.4.0
Deprecatedn/a
do_action( 'wp_creating_autosave', $new_autosave, true )
Parameters: (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
Defined at:
Codex:

Fires before an autosave is stored.





Source

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