August 11, 2016 at 1:10 am #6255
Is there a general use or public is_mobile function in the plugin that we can use in our theme code?
JohnAugust 11, 2016 at 3:53 am #6257
We don’t have such function in our plugin.
However there is a wordpress function called wp_is_mobile that works like the same way you want. You can find more details about it here. https://codex.wordpress.org/Function_Reference/wp_is_mobile
The topic ‘is_mobile function?’ is closed to new replies.