Home › Forums › Any Mobile Theme Switcher › is_mobile function?
Is there a general use or public is_mobile function in the plugin that we can use in our theme code?
Thanks, John
Hi John,
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
Thanks