User Agent Identify plug-in for WordPress

User Agent Identify is a plug-in for WordPress.  The plug-in doesn’t do anything special, so don’t expect it to.  This plug-in simply determines if the visitor’s browser is a mobile based browser (ie. iPhone, Android…) and returns true of false.  I created this plug-in because I needed a way to dynamically bypass other plug-ins depending on if the browser was mobile or not.  Specifically, I wanted to bypass the SuperSlider-Login plug-in and the wp-Followme plug-in.   This plug-in DOES NOT disable any other plugins!  After installation of this plug-in all you need to do is make a call to the user_agent_identify() class from within whatever plug-in or page you need.  This plug-in will only return true or false.

I have included a few USER_AGENT strings in the plug-in.  Feel free to modify it or add to it.

Here is a screenshot of the Options page.  As you can see, there aren’t any options at all, just a few lines to show that it’s working properly.

User Agent Identify Options

I have no plans on submitting this plug-in to WordPress, as there are already similar plug-ins available.  You can download the plug-in here.  Use it at your own risk.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Welcome BrainYang.com

Log in

Lost your password?

Register For This Site

Join

Join us as we spread the word.