wpDiscuz 7 API Documentation

  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentation
  4. Filters
  5. wpdiscuz_gravatar_size
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

wpdiscuz_gravatar_size

This filter can be used for changing the size of the avatars.

Changelog

Since 7.0.0 version

Parameters

$size (type: int) – the size of the avatar

Usage

add_filter("wpdiscuz_gravatar_size", function ($size) {
    return 16;
});

Was this article helpful to you? Yes No