Action hook 'pre_auto_update'
in WP Core File wp-admin/includes/class-wp-automatic-updater.php at line 401
Description
Fires immediately prior to an auto-update.
Occurrences
Filename |
Line Number |
wp-admin/includes/class-wp-automatic-updater.php |
401 |
Parameters
Type |
Name |
Description |
string |
$type |
The type of update being checked: 'core', 'theme', 'plugin', or 'translation'. |
object |
$item |
The update offer. |
string |
$context |
The filesystem context (a path) against which filesystem access and status should be checked. |
PHP Doc
/**
* Fires immediately prior to an auto-update.
*
* @since 4.4.0
*
* @param string $type The type of update being checked: 'core', 'theme', 'plugin', or 'translation'.
* @param object $item The update offer.
* @param string $context The filesystem context (a path) against which filesystem access and status
* should be checked.
*/