do_action( 'wp_creating_autosave', array $new_autosave )
Fires before an autosave is stored.
Parameters
- $new_autosave
-
(array) Post array
- the autosave that is about to be saved.
Source
Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_creating_autosave