wpDiscuz 7 API Documentation

⌘K
  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentat...
  4. Actions
  5. comment_reply_form_bar_top

comment_reply_form_bar_top

This action allows you to insert custom HTML before the reply form. The HTML will be added in the div with the .wpd-secondary-forms-social-content class.

Changelog

Added starting from 7.0.0 version.

Parameters

$form (type: Form object) - the object of the form

Usage

add_action("comment_reply_form_bar_top", function ($form) {
    echo "Custom Message";
});