Description
Filters whether to send an email following an automatic background core update.
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/class-wp-automatic-updater.php | 935 |
Parameters
Type | Name | Description |
---|---|---|
bool | $send | Whether to send the email. Default true. |
string | $type | The type of email to send. Can be one of 'success', 'fail', 'critical'. |
object | $core_update | The update offer that was attempted. |
mixed | $result | The result for the core update. Can be WP_Error. |
PHP Doc
/**
* Filters whether to send an email following an automatic background core update.
*
* @since 3.7.0
*
* @param bool $send Whether to send the email. Default true.
* @param string $type The type of email to send. Can be one of
* 'success', 'fail', 'critical'.
* @param object $core_update The update offer that was attempted.
* @param mixed $result The result for the core update. Can be WP_Error.
*/