wpDiscuz 7 API Documentation

⌘K
  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentat...
  4. Filters
  5. wpdiscuz_editor_buttons_html

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