WP_Links_List_Table::column_default()publicWP 4.3.0

Handles the default column output.

Method of the class: WP_Links_List_Table{}

Hooks from the method

Return

null. Nothing (null).

Usage

$WP_Links_List_Table = new WP_Links_List_Table();
$WP_Links_List_Table->column_default( $item, $column_name );
$item(object) (required)
Link object.
$column_name(string) (required)
Current column name.

Changelog

Since 4.3.0 Introduced.
Since 5.9.0 Renamed $link to $item to match parent class for PHP 8 named parameter support.

WP_Links_List_Table::column_default() code WP 6.5.2

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

	/**
	 * Fires for each registered custom link column.
	 *
	 * @since 2.1.0
	 *
	 * @param string $column_name Name of the custom column.
	 * @param int    $link_id     Link ID.
	 */
	do_action( 'manage_link_custom_column', $column_name, $link->link_id );
}