wp_login_viewport_meta() WordPress Function
This function outputs the viewport meta tag for use on the WP login page. This is used to tell mobile browsers how to display the page.
wp_login_viewport_meta() #
Outputs the viewport meta tag for the login page.
Source
File: wp-login.php
function wp_login_viewport_meta() {
?>
<meta name="viewport" content="width=device-width" />
<?php
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.7.0 | Introduced. |