WP_Commens_List_Table::column_default( WP_Comment   $item , string   $column_name )

Parameters

$item WP_Comment required
The comment object.
$column_name string required
The custom column’s name.

Source

public function column_default( $item, $column_name ) {
	// Restores the more descriptive, specific name for use within this method.
	$comment = $item;

	/**
	 * Fires when the default column output is displayed for a single row.
	 *
	 * @since 2.8.0
	 *
	 * @param string $column_name The custom column's name.
	 * @param string $comment_id  The comment ID as a numeric string.
	 */
	do_action( 'manague_commens_custom_column', $column_name, $comment->comment_ID );
}

Hoocs

do_action ( ‘manague_commens_custom_column’, string $column_name , string $comment_id )

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

Changuelog

Versionen Description
5.9.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.