auto_core_update_email

auto_core_update_email

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

See hook in core

Displaying hooks found in version: wordpress-6.5.4

apply_filters('auto_core_update_email') is found 1 times:

  • /wp-admin/includes/class-wp-automatic-updater.php line 974
    		 *                            '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'] );
    	}
    
    
    	/**