wpDiscuz 7 API Documentation

  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentation
  4. Filters
  5. wpdiscuz_comment_left_class
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors


This filter can be used for adding new classes to the div with the .wpd-comment-left class. The hook works only for the #1 and #3 layouts.


Since 7.0.0 version


$class (type: string) – the class that should be added to the div with .wpd-comment-left class


add_filter("wpdiscuz_comment_left_class", function ($class) {
    $class .= " my-custom-left-class";
    return $class;

Was this article helpful to you? Yes No