do_action( 'pre_auto_update', string $type , object $item , string $context )
Fires immediately prior to an auto-update.
Parameters
-
$type
string -
The type of update being checked:
'core'
,'theme'
,'plugin'
, or'translation'
. -
$item
object -
The update offer.
-
$context
string -
The filesystem context (a path) against which filesystem access and status should be checked.
Source
File: wp-admin/includes/class-wp-automatic-updater.php
.
View all references
do_action( 'pre_auto_update', $type, $item, $context );
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |