do_action( 'automatic_updates_complete', array $update_results )
Fires after all automatic updates have run.
Parameters Parameters
- $update_results
-
(array) The results of all attempted updates.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
This hook is pretty useful in case you need to perform some stuff after an automatic update gets completed by WordPress. I personally spent a lot of time figuring out how to deal with this feature, especially because I didn’t know what kind of data the
$update_results
parameter contained.So, here’s a working example of how you should use this hook.
Expand full source codeCollapse full source code