manage_comments_custom_column WordPress Action Hook

The manage_comments_custom_column hook is used to add custom columns to the comments list table in the WordPress admin. This hook is fired when the list table is being initialized.

do_action( 'manage_comments_custom_column', string $column_name, string $comment_id ) #

Fires when the default column output is displayed for a single row.


Parameters

$column_name

(string)The custom column's name.

$comment_id

(string)The comment ID as a numeric string.


Top ↑

Source

File: wp-admin/includes/class-wp-comments-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.8.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.