mobile archive

WordPress $is_iphone global

OK, why did nobody tell me about this, and why is it not documented! I just found out today that WordPress does some browser detection of its own. I’ve previously relied on other code libraries for this, but maybe now I can use the ‘WordPress Way’. Detecting mobile in WordPress using $is_iphone In wp-includes/vars.php there […]

Tags: ,