edit_comment_misc_actions WordPress Action Hook

This hook allows you to perform additional actions when a comment is edited. It is called after the comment is updated in the database, but before the comment is re-rendered on the page. This hook can be used to update other parts of your site in response to a comment being edited.

apply_filters( 'edit_comment_misc_actions', string $html, WP_Comment $comment ) #

Filters miscellaneous actions for the edit comment form sidebar.


Parameters

$html

(string)Output HTML to display miscellaneous action.

$comment

(WP_Comment)Current comment object.


Top ↑

Source

File: wp-admin/edit-form-comment.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
4.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.