Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/class-wp-automatic-updater.php | apply_filters | 709 | /** * 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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $send | Whether to send the email. Default true. |
string | $type | The type of email to send. Can be one of |
object | $core_update | The update offer that was attempted. |
mixed | $result | The result for the core update. Can be WP_Error. |