is_mobile function?

Home Forums Any Mobile Theme Switcher is_mobile function?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6255
    John Cole
    Guest

    Is there a general use or public is_mobile function in the plugin that we can use in our theme code?

    Thanks,
    John

    #6257
    Dinesh
    Keymaster

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘is_mobile function?’ is closed to new replies.