manage_link_custom_column action-hookWP 2.1.0

Fires for each registered custom link column.

Usage

add_action( 'manage_link_custom_column', 'wp_kama_manage_link_custom_column_action', 10, 2 );

/**
 * Function for `manage_link_custom_column` action-hook.
 * 
 * @param string $column_name Name of the custom column.
 * @param int    $link_id     Link ID.
 *
 * @return void
 */
function wp_kama_manage_link_custom_column_action( $column_name, $link_id ){

	// action...
}
$column_name(string)
Name of the custom column.
$link_id(int)
Link ID.

Changelog

Since 2.1.0 Introduced.

Where the hook is called

WP_Links_List_Table::column_default()
manage_link_custom_column
wp-admin/includes/class-wp-links-list-table.php 304
do_action( 'manage_link_custom_column', $column_name, $link->link_id );

Where the hook is used in WordPress

Usage not found.