PHP Browser Detection 3.1.1

A WordPress plugin used for sniffing the user’s agent details
It basically provides a simple framework for executing conditional code, based on the browser type.

Use cases: send conditional CSS files for Internet Explorer, display different content or custom messages anywhere on the page based on the browser or to swap out Flash for an image for iPhones.

Instructions are provided in the project's README file.

The plugin doesn't come with an administrative interface, it is just a collection of hooks.


Unpack and upload it to the /wp-content/plugins/ directory.
Activate the plugin through the 'Plugins' menu in WordPress.

Main features:

  • Get all browser information returned in an array.
  • Conditional statements to detect each version of Internet Explorer.
  • Conditional statements to detect if it is any mobile browser.
  • Conditional statements to detect if it is an iPhone.

last updated on:
September 5th, 2014, 20:31 GMT
developed by:
Marty Thornley
license type:
operating system(s):
Windows / Linux / Mac OS / BSD / Solaris
C: \ Modules \ WordPress Plugins


In a hurry? Add it to your Download Basket!

user rating



What's New in version 3.0
  • Browscap.ini database auto-updates!
  • Browscap database caching!
  • Added is_tablet()
  • Added is_desktop()
read full changelog

Add your review!