is_mobile function?

Home Forums Any Mobile Theme Switcher is_mobile function?

This topic contains 1 reply, has 2 voices, and was last updated by  Dinesh 7 months, 2 weeks ago.

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

    John Cole

    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.