On this page
WP_Links_List_Table::column_default( object $item, string $column_name )
Handles the default column output.
Parameters
$itemobject Required-
Link object.
$column_namestring Required-
Current column name.
Source
File: wp-admin/includes/class-wp-links-list-table.php. View all references
public function column_default( $item, $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, $item->link_id );
}
Hooks
- do_action( 'manage_link_custom_column',
string $column_name ,int $link_id ) -
Fires for each registered custom link column.
Related
Uses
| Uses | Description |
|---|---|
| do_action() wp-includes/plugin.php | Calls the callback functions that have been added to an action hook. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_links_list_table/column_default