jetpack_is_mobile

Is the visitor on a mobile device?

Parameters

Name Type Description
$kind string Optional. Category of mobile device to check for. Either: any*, dumb, smart.
$return_matched_agent. bool Optional. If true, return the user agent.

Return Value

bool|string: If bool, returns if the $kind matched. If string, return the user agent.

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.