Title: [Plugin: PHP Browser Detection] [Feature Request] Please consider adding &#039;lte&#039; support
Last modified: August 20, 2016

---

# [Plugin: PHP Browser Detection] [Feature Request] Please consider adding 'lte' support

 *  Resolved [mgratch](https://wordpress.org/support/users/brokenflipside/)
 * (@brokenflipside)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-php-browser-detection-feature-request-please-consider-adding-lte-support/)
 * Please consider including the following function to your plugin, I don’t think
   I would be the only person to find it useful to check for less than or equals
   to IE8. Plus it would help me so much not needing to add it after any future 
   updates. 🙂 Thanks for this plugin it certainly saved me time doing it myself
   as I was just about to embark on this process before stumbling across it. Great
   work!!!
 *     ```
       function is_lte_IE8 (){
       	$browserInfo = php_browser_info();
       	if(isset($browserInfo['browser']) && $browserInfo['browser']=='IE' && (int)$browserInfo['majorver'] <= 8)
       		return true;
       	return false;
       }
       ```
   
 * [http://wordpress.org/extend/plugins/php-browser-detection/](http://wordpress.org/extend/plugins/php-browser-detection/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * (@mindshare)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-php-browser-detection-feature-request-please-consider-adding-lte-support/#post-2956071)
 * This feature is available in the latest version (2.2) using the following syntax:
 *     ```
       if(is_ie() && get_browser_version() <= 8) {
         /* do stuff */
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: PHP Browser Detection] [Feature Request] Please consider adding'
lte' support’ is closed to new replies.

 * ![](https://ps.w.org/php-browser-detection/assets/icon-256x256.png?rev=999338)
 * [PHP Browser Detection](https://wordpress.org/plugins/php-browser-detection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-browser-detection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-browser-detection/)
 * [Active Topics](https://wordpress.org/support/plugin/php-browser-detection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-browser-detection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-browser-detection/reviews/)

## Tags

 * [cross-browser](https://wordpress.org/support/topic-tag/cross-browser/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [IE8](https://wordpress.org/support/topic-tag/ie8/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-php-browser-detection-feature-request-please-consider-adding-lte-support/#post-2956071)
 * Status: resolved