You are here

function authcache_link_alter in Authenticated User Page Caching (Authcache) 6

Implements hook_link_alter().

File

./authcache.module, line 436
Authenticated User Page Caching (and anonymous users, too!)

Code

function authcache_link_alter(&$links, $node) {
  global $is_page_authcache;
  if ($is_page_authcache) {

    // Remove number of new/unread comments for user
    unset($links['comment_new_comments']);
  }
}