wpDiscuz 7 API Documentation

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

wpdiscuz_editor_buttons_html

This filter can be used to echo an HTML of the new buttons on the comment form editor.

Changelog

since 7.0.0 version

Parameters

$html (type: string) – the HTML of the new buttons
$uniqueId (type: string) – the unique ID of the form

Usage

add_filter("wpdiscuz_editor_buttons_html", function ($html, $uniqueId) {
    echo "Custom Button HTML";
}, 1, 2);

Was this article helpful to you? Yes No