Advertisement

Summery Summery

Fires immediately prior to an auto-update.

Syntax Syntax

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

Parameters 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 Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.