add_meta_boxes_comment action-hookWP 3.0.0

Fires when comment-specific meta boxes are added.

Usage

add_action( 'add_meta_boxes_comment', 'wp_kama_add_meta_boxes_comment_action' );

/**
 * Function for `add_meta_boxes_comment` action-hook.
 * 
 * @param WP_Comment $comment Comment object.
 *
 * @return void
 */
function wp_kama_add_meta_boxes_comment_action( $comment ){

	// action...
}
$comment(WP_Comment)
Comment object.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

In file: /wp-admin/edit-form-comment.php
add_meta_boxes_comment
wp-admin/edit-form-comment.php 266
do_action( 'add_meta_boxes_comment', $comment );

Where the hook is used in WordPress

Usage not found.