WordPress.org

Ready to get started?Download WordPress

Forums

Batcache
Exclude Mobile Pages (2 posts)

  1. droimbai
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/extend/plugins/batcache/

  2. Ben May
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic