wpDiscuz 7 API Documentation

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

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";
});

Was this article helpful to you? Yes No