Support » Plugin: Batcache » Exclude Mobile Pages

  • Hi, how do I tell Batcache not to cache pages from mobile user agents?

    The example in advanced-cache.php says
    $batcache->unique['mobile'] = is_mobile_user_agent();

    Where should I put the function is_mobile_user_agent() and define the user agents?

    Plus, do I need to still need to declare var $unique = array(); if I have is_mobile_user_agent()?

    Thank you for your time.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Exclude Mobile Pages’ is closed to new replies.