do_action( 'pre_auto_update', string $type , object $item , string $context )
Fires immediately prior to an auto-update.
Parameters
- $type
-
The type of update being checked: 'core', 'theme', 'plugin', or 'translation'.
- $item
-
The update offer.
- $context
-
The filesystem context (a path) against which filesystem access and status should be checked.
Source
Changelog
Version | Description |
---|---|
WP-4.4.0 | Introduced. |