admin_viewport_meta WordPress Filter Hook
The admin_viewport_meta hook allows you to add/remove viewport meta tags from the Wordpress admin area. This can be useful if you want to change the way the admin area looks on mobile devices. For example, you could use this hook to remove the "viewport" meta tag from the header, which would make the admin area look like it does on a desktop computer.
apply_filters( 'admin_viewport_meta', string $viewport_meta ) #
Filters the viewport meta in the admin.
Parameters
- $viewport_meta
(string)The viewport meta.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |