WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Add action for mobile groups (2 posts)

  1. Toni Viemerö
    Member
    Posted 2 years ago #

    Didn't find any other place for enhancement requests.

    Please add support for w3tc action in Mobile->get_group().

    --- lib/W3/Mobile.php.orig      2011-10-25 16:32:15.978965428 +0300
    +++ lib/W3/Mobile.php   2011-10-25 15:55:22.597089858 +0300
    @@ -38,6 +38,8 @@
         function get_group() {
             static $mobile_group = null;
    
    +        $mobile_group = w3tc_do_action('w3tc_mobile_get_group', $mobile_group);
    +
             if ($mobile_group === null) {
                 foreach ($this->groups as $group => $config) {
                     if (isset($config['enabled']) && $config['enabled'] && isset($config['agents'])) {

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Will work on an API.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic