WordPress at Your Fingertips
filter is not described

admin_viewport_meta filter-hook . WP 5.5.0

Filters the viewport meta in the admin.

Usage

add_filter( 'admin_viewport_meta', 'filter_function_name_9128', 10, 2 );
function filter_function_name_9128( $viewport_meta, $initial-scale=10 ){
	// filter...

	return $viewport_meta;
}
$viewport_meta(string)
The viewport meta.
$initial-scale=10
-

Changelog

Since 5.5.0 Introduced.

Where the hook is called

wp_admin_viewport_meta()
admin_viewport_meta
wp-admin/includes/misc.php 1029
$viewport_meta = apply_filters( 'admin_viewport_meta', 'width=device-width,initial-scale=1.0' );

Where in WP core the hook is used WordPress

wp-admin/customize.php 135
add_filter( 'admin_viewport_meta', '_customizer_mobile_viewport_meta' );