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

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 Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply