WordPress at Your Fingertips
filter is not described

wp_is_mobile filter-hook . WP 4.9.0

Filters whether the request should be treated as coming from a mobile device or not.


add_filter( 'wp_is_mobile', 'filter_function_name_8219' );
function filter_function_name_8219( $is_mobile ){
	// filter...

	return $is_mobile;
Whether the request is from a mobile device or not.

Where the hook is called

wp-includes/vars.php 168
return apply_filters( 'wp_is_mobile', $is_mobile );

Where in WP core the hook is used WordPress

Usage not found.