wpDiscuz 7 API Documentation

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


This hook can be used for displaying some HTML after “Read more” action.


Added in version 7.0.4


1. $content (type: string) – the content of the comment
2. $comment (type: WP_Comment object) – the object of the current comment
3. $args (type: array) – the arguments passed to walker


add_filter("wpdiscuz_after_read_more", function ($content, $comment, $args) {
    $content .= "Custom Text";
    return $content;
}, 10, 3);

Was this article helpful to you? Yes No