“switch to desktop version” on mobile
-
I am using “user agent groups” to get properly cached version for smartphones. Now I need a “switch to desktop” button on mobile, so I set a cookie and based on that cookie value I filter the wp_is_mobile result (to false). What I need more is to also return false from plugin’s \W3TC\Mobile_UserAgent->group_verifier function, so it would be great to have a filter there. Is it possible to add in future version? Is there a better way to do such feature? Maybe I am doing it wrong?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘“switch to desktop version” on mobile’ is closed to new replies.