Title: WP_Customize_Manager::customize_preview_html5
Published: April 25, 2014
Last modified: April 28, 2025

---

# WP_Customize_Manager::customize_preview_html5()

## In this article

 * [Source](https://developer.wordpress.org/reference/classes/wp_customize_manager/customize_preview_html5/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_customize_manager/customize_preview_html5/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_customize_manager/customize_preview_html5/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/classes/wp_customize_manager/customize_preview_html5/?output_format=md#wp--skip-link--target)

This method has been deprecated since 4.7.0. Customizer no longer supports IE8, 
so all supported browsers recognize HTML5 instead.

Prints a workaround to handle HTML5 tags in IE < 9.

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_customize_manager/customize_preview_html5/?output_format=md#source)󠁿

    ```php
    public function customize_preview_html5() {
    	_deprecated_function( __FUNCTION__, '4.7.0' );
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/class-wp-customize-manager.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/class-wp-customize-manager.php#L2048)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/class-wp-customize-manager.php#L2048-L2050)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_customize_manager/customize_preview_html5/?output_format=md#related)󠁿

| Uses | Description | 
| [_deprecated_function()](https://developer.wordpress.org/reference/functions/_deprecated_function/)`wp-includes/functions.php` |

Marks a function as deprecated and inform when it has been used.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_customize_manager/customize_preview_html5/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.7.0](https://developer.wordpress.org/reference/since/4.7.0/) | Deprecated. Customizer no longer supports IE8, so all supported browsers recognize HTML5. | 
| [3.4.0](https://developer.wordpress.org/reference/since/3.4.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_customize_manager%2Fcustomize_preview_html5%2F)
before being able to contribute a note or feedback.