WordPress plugin intelligence profile

PHP Browser Detection

PHP Browser Detection is a WordPress plugin used to detect a user's browser. Please report any bugs on the support forums.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.3
Current version3.1.8
WordPress coverageTested up to WordPress 4.3
Minimum stackWP — · PHP —
Directory statusactive
Last directory update8 Sept 201511y ago
Active installations500Adoption metric — not a quality score
WordPress.org rating4.1 / 5 from 16 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records PHP Browser Detection version 3.1.8 as active, updated 11y ago and tested up to WordPress 4.3.

Overview

About this plugin

Version 3 adds support for is_tablet(), is_desktop(), and is_browser() as well as numerous bug fixes and code improvements. ini are disabeld until we can deal with memory usage issues.

PHP Browser Detection is a WordPress plugin used to detect a user’s browser. It can be used to send conditional CSS files for Internet Explorer, display different content or custom messages anywhere on the page, or to swap out Flash for an image for iPhones.

Template Tags:

Test for specific browsers:

$version is optional. Include a major version number, a single integer – 3,4,5, etc… Or leave it empty to test for any version.

>

>

>

>

>

>

Check for mobile, tablet, iPhone, iPad, iPod, etc…

>

>

>

>

>

>

Check for greater than / less than a specific version…

Less than or equal to Firefox 19:

php if(is_firefox() && get_browser_version()

Less than or equal to IE 10:

php if(is_ie() && get_browser_version()

Greater than or equal to Safari 4:

>

these are just a few examples, but this syntax will work for any browser or version.

Check specific versions…

Is the browser IE6?

Is the browser IE10?

Or you can get all the info and do what you want with it:

Get just the name…

>

0, etc…

>

Or get it all in array…

>

Shortcodes:

Test for specific browsers:

</p> [/is_browser]

Output all browser info:

[browser_info]

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • browser detection
  • internet explorer
  • iphone
  • php
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.3

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.3.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.3
Minimum requirementsWordPress not listed · PHP not listed
Update activity8 Sept 201511y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.