manage_link_custom_column WordPress Action Hook

The manage_link_custom_column hook allows you to add custom columns to the link manager screen in the WordPress admin. This can be useful for displaying additional information about your links, such as the link category or the date added.

do_action( 'manage_link_custom_column', string $column_name, int $link_id ) #

Fires for each registered custom link column.


Parameters

$column_name

(string)Name of the custom column.

$link_id

(int)Link ID.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

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