PHP Browser Detection icon
Developer Tools

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.

Developer Mindshare Labs, Inc.
15 Needs attentionmaintenance
  • 16 yearson WordPress.org
  • 5plugins
  • 650+installs in total
  • 4.3β˜…avg. rating (25)
  • 0%of plugins updated this year
2/14 badges Profile β†’

Not recommended for new sites

Better alternatives to PHP Browser Detection

  • Problem: Not maintained Last updated 11 years ago (version 3.1.8).
  • Problem: Not tested with recent WordPress Tested up to WordPress 4.3; the current release is 7.1.
  • Pass: Well rated Rated 4.1/5 by 16 users on WordPress.org.
  • Note: Small user base Active on 500+ sites.

For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.

WP Console icon

Best match

WP Console

Updated 3 months ago, tested with WordPress 7.1, rated 5.0/5 by 21 users, used on 20,000+ sites.

Setup guide β†’
Compare PHP Browser Detectionthis plugin WP Console
Last updated 11 years ago3 months ago
Tested up to WordPress 4.3WordPress 7.1
Active installs 500+20,000+
Rating 4.1 / 5 (16)5.0 / 5 (21)
PHP code size 185 KB in 10 PHP files–
Hooks for developers 76

Switching from PHP Browser Detection?

  1. Try the replacement on a staging copy of your site first.
  2. Note your current settings, shortcodes and widgets. They won't carry over automatically.
  3. Activate the new plugin, recreate the setup, then deactivate and delete the old one.

Need your settings or data moved over? We can migrate it for you.

Find other outdated plugins on your site with the free plugin checker β†’

Alternatives are matched on features and ranked by maintenance, WordPress compatibility, ratings and adoption, using WordPress.org data.

Overview

PHP Browser Detection describes itself as: β€œPHP Browser Detection is a WordPress plugin used to detect a user's browser. Please report any bugs on the support forums.”

It is active on 500+ WordPress sites and rated 4.1 out of 5 by 16 users on WordPress.org. Developers can extend it through 0 actions and 7 filters, listed below.

We haven't published a hands-on review of PHP Browser Detection yet. Want one, or need help with it? Send us a request.

How to install PHP Browser Detection

  1. Open the plugin installer. In your WordPress dashboard go to Plugins β†’ Add New Plugin.
  2. Search for it. Type β€œPHP Browser Detection” and pick the one by Mindshare Labs, Inc.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins β†’ Add New Plugin β†’ Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install php-browser-detection --activate

Hooks & customisation

PHP Browser Detection 3.1.8 fires 0 actions and 7 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

php-browser-detection β€” top hooks
// Filter in inc/shortcodes.php
apply_filters( 'browser_info_end', '</pre></div>' );

// Filter in inc/shortcodes.php
apply_filters( 'browser_info_middle', print_r($browser_info, TRUE) );

// Filter in inc/shortcodes.php
apply_filters( 'browser_info_start', '<div class="php-browser-info"><pre>' );

// Filter in php-browser-detection.php
apply_filters( 'php_browser_detection_autoupdate', TRUE );

// Filter in php-browser-detection.php
apply_filters( 'php_browser_detection_cache_dir', PBD_DIR_PATH . 'cache' );

// Filter in php-browser-detection.php
apply_filters( 'php_browser_detection_cache_time', 2592000 );

Browse all 7 hooks with examples β†’

PHP Browser Detection: frequently asked questions

Is PHP Browser Detection free?

Yes. PHP Browser Detection is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is PHP Browser Detection safe to use?

PHP Browser Detection has not been updated for 11 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. Users rate it 4.1 out of 5 from 16 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does PHP Browser Detection work with WordPress 7.1?

It isn't confirmed. PHP Browser Detection was last tested with WordPress 4.3, 28 releases behind the current 7.1, so test it on a staging site before relying on it.

How many websites use PHP Browser Detection?

PHP Browser Detection is active on 500+ WordPress sites, according to WordPress.org. It is currently at version 3.1.8, last updated on September 8, 2015.

What are the best alternatives to PHP Browser Detection?

Plugins that do a similar job and are actively maintained include WP Console (20,000+ installs). See the side-by-side comparison.

Can I customise PHP Browser Detection without editing its code?

Yes. PHP Browser Detection 3.1.8 fires 0 actions and 7 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 7 hooks with examples.

Done for you

Let us deal with PHP Browser Detection for you

Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.

Update an abandoned plugin

from $249

Keep the plugin your site depends on, made safe for current WordPress and PHP.

  • Compatibility with current WordPress and PHP
  • Security review and fixes
  • Deprecated code replaced
  • You keep a maintained copy

Typical turnaround: 5–10 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need PHP Browser Detection customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Mindshare Labs, Inc. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by Mindshare Labs, Inc.

All 5 β†’
Not updated in 16+ years

Redirect a page to an URL or WordPress page.

90+ installs Updated 16 years ago
Not updated in 6+ years

Integrates easily CSS and JavaScript Libraries hosted by CDNjs.com. Browse, select version and sub-assets to fit your needs.

30+ installs Updated 7 years ago 14 hooks
Not updated in 11+ years

Allows WordPress users to subscribe to notifications for new posts, pages, and custom types, filterable by taxonomies.

20+ installs Updated 11 years ago 67 hooks
Not updated in 11+ years

An attractive, lightweight, and highly configurable jQuery notification pane.

10+ installs Updated 11 years ago

Alternatives in Developer Tools

See all β†’
Reviewed
WPCode icon

WPCode

1,935

Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert ads…

3+ million installs Updated 1 week ago 96 hooks
Reviewed

Manage custom WordPress code in one dashboard. Create PHP and HTML snippets, preview code, track snippet totals and reuse code…

1+ million installs Updated 2 weeks ago 66 hooks
Reviewed

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, marketing, or chat…

600,000+ installs Updated 4 months ago

Take control of the cron events on your WordPress website or WooCommerce store with WP Crontrol.

300,000+ installs Updated 1 month ago 43 hooks