auto_core_update_email

auto_core_update_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('auto_core_update_email') is found 1 times:

  • /wp-admin/includes/class-wp-automatic-updater.php line 1139
    		 *                            'success', 'fail', 'manual', 'critical'.
    		 * @param object $core_update The update offer that was attempted.
    		 * @param mixed  $result      The result for the core update. Can be WP_Error.
    		 */
    		$email = apply_filters( 'auto_core_update_email', $email, $type, $core_update, $result );
    
    		wp_mail( $email['to'], wp_specialchars_decode( $email['subject'] ), $email['body'], $email['headers'] );
    	}
    
    
    	/**