do_action( 'pre_auto_update', string $type, object $item, string $context )

Fires immediately prior to an auto-update.

Parameters Parameters


(string) The type of update being checked: 'core', 'theme', 'plugin', or 'translation'.


(object) The update offer.


(string) The filesystem context (a path) against which filesystem access and status should be checked.

Top ↑

Source Source

File: wp-admin/includes/class-wp-automatic-updater.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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