WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_auto_update

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-automatic-updater.php do_action 346 /**
* 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.
*/

Hook Parameters

Parameter 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