W3cubDocs

/WordPress

WP_Links_List_Table::column_default( object $link, string $column_name )

Handles the default column output.

Parameters

$link

(object) (Required) Link object.

$column_name

(string) (Required) Current column name.

Source

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

public function column_default( $link, $column_name ) {
		/**
		 * 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 );
	}

Changelog

Version Description
4.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_links_list_table/column_default