do_action( ‘pre_auto_update’, string $type, object $item, string $context )

In this article

Fires immediately prior to an auto-update.

Parameters

$typestring
The type of update being checked: 'core', 'theme', 'plugin', or 'translation'.
$itemobject
The update offer.
$contextstring
The filesystem context (a path) against which filesystem access and status should be checked.

Source

do_action( 'pre_auto_update', $type, $item, $context );

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.