$_GET is for accessing variables in URL parameters, it’s not related to any detection by itself, something must be adding it to URL.
In context of WordPress it might be related to $is_iphone global.
If you look at wp-includes/vars.php there is number of global variables like this, which WP fills up with data via user agent sniffing.
So $is_iphone is set there according to following logic:
if ( $is_safari && stripos($_SERVER['HTTP_USER_AGENT'], 'mobile') !== false )
$is_iphone = true;
Related Posts:
- What’s the best way to use the Featured Image for responsive web design?
- Add Useragent to the body class?
- Ajax template: how to handle head section
- Hiding a php element from mobile browsers
- Creating a mobile site by adding a new class to the body tag from functions.php
- How to remove sidebar primary widget on Mobile on category page [closed]
- Limit posts when visited with mobile devices
- Updating From Mobile App – Exposing Site to Hacking
- Attaching images to posts manually (i.e. with custom code, without the use of an API)
- How to redirect non logged in mobile users to page on same site?
- How do you remove header sitewide from mobile only?
- Exclude ipads and tablets form wp_is_mobile code
- show desktop version of website if button is submited
- Get permalink for a post from inside WordPress and route to a related site
- error_log() output for print_r() appearing on page
- Nginx FastCGI_Cache Vs PHP Caching
- Multisite get_home_url(); – Getting URL for current site
- How to display multiple Post meta_key/meta_values by SQL query
- How To Customize Position of »add to cart« of WooCommerce on Product Page [closed]
- Shortcode created to check language not works
- Sort posts from multiple sites by date
- Change Width of Featured Image Thumbnail on Add/Edit Post Page
- Listing all sub-pages?
- Create table in database when activating plugin
- Implement a multi-value input field where the number of entries is not limited
- How can I export post data in xml format?
- Getting my head round WordPress filter
- allow user to select pages from dropdown in my plugin
- How to set a custom path, for ajax image upload folder in admin?
- Recent post display using shortcode
- How is WordPress manipulating the posts like there are folders?
- Can I use `.phtml` instead of `.php`
- conditional statement for custom taxonomy
- WP_cron won’t trigger my action
- how to save selection meta data in user profile on frontend
- How to get a list of all possible values of a specific user meta key?
- Use object in template part
- Can’t extend some core classes
- functions.php is being included twice, creating PHP fatal errors
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- Accessing the database from a plugin outside of action hooks
- Adding subdomain to home_url for “add_menu_page”
- How to make a search button that will search my website?
- Menu Limitations
- Iterate through posts based on array of categories
- selected option if current category is the value
- Custom query, checking values of multiple meta keys
- How do I remove the product thumbnail link from a specific div in Woocommerce? [closed]
- wp attempt focus, disabling without touching core
- Genesis framework comments broken?
- Is there a way to conditionally check whether a WordPress post title is empty?
- How to parse multiple links from one variable?
- Issue with php version 7.2 in running search
- variable value disappears in a second loop
- unknown issue in ‘header.php’ preventing theme from displaying fully
- Add meta tags to a custom header
- Ajax filter button display all posts
- Check If Post Was Published More Than 6 Months Ago Using get_the_date
- random display categories – change url
- Generate responsive post thumbnails of same size
- How to prevent a function from running based on host (ie web vs local)?
- Change out put of the_post_thumbnail in PHP
- Styling an “active” link outside of WordPress default menu
- WordPress permalink issue
- Any way to hide a blog posts text if it’s longer than let’s say 300 characters
- Array data not saving to specified sections. How to make seting independantly?
- How to get woocommerce orders with get_posts method in a shortcode
- Change category thumbnail size
- how to make wordpress user submit form once?
- Update PHP version of WordPress (internal hosting)
- Multiple Tag Filtering
- Need to show 7 posts from actual date
- How to reload a php script, using AJAX and jQuery
- Make wp_editor required
- Add the shortcodes from the enfold theme to the other theme
- I need to edit a widget, with no dashboard access
- Custom content using in_category
- Get the total Author Favorited posts
- Need help with PHP functions
- WordPress WPDB::insert 13th param is always blank (only if format)
- When using shortcode, content stops generating after the_content
- MySQL query in WordPress with AJAX
- enumerating custom taxonomies?
- Change colour of table td based on value
- How do you detect if a specific word is at the end of a the_title()
- WordPress styling recent post
- If or/and statement advanced custom fields [closed]
- Combining fancybox with multiple thumbnail plugin
- How to display thumbnail if post is assigned one otherwise not
- How to check “From Email” via WordPress before an email is sent
- Add specific phrase after every product title including the discounted price? [closed]
- get_avatar from user id
- Remove Unused Menu Locations
- How do I change the Go To Categories link in the term_updated_messages
- Putting form result in my database
- SQL – How to echo out inside of where statement
- How to create different templates for woocommerce single-product.php?
- 404 Error after URL update
- How to edit templates created in the block editor in code / template files not updating
- Calling a PHP function from a menu item