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
Post Type Selectors

wpdiscuz_after_read_more

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

Changelog

Added in version 7.0.4

Parameters

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

Usage

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