How detect mobile browsers with WBF

WBF has a built-in mobile detect service (provided by Mobile_Detect class) that you can use via PHP.

You can use the service like so:

	//Code for WBF 1.0.x
	if(WBF()->get_mobile_detect()->isMobile()){
		//...do stuff
	}

	//Code for WBF 1.1.x
	if(WBF()->services()->get_mobile_detect()->isMobile()){
		//...do stuff
	}

The Mobile_Detect class can do much more than that, like detect the type of browser the user is using. You can refer to the class code examples for more information.