WP_Links_List_Table::column_name() WordPress Method
The WP_Links_List_Table::column_name() method is used to display the name column in the link list table.
WP_Links_List_Table::column_name( object $link ) #
Handles the link name column output.
Parameters
- $link
(object)(Required)The current link object.
Source
File: wp-admin/includes/class-wp-links-list-table.php
public function column_name( $link ) {
$edit_link = get_edit_bookmark_link( $link );
printf(
'<strong><a class="row-title" href="%s" aria-label="%s">%s</a></strong>',
$edit_link,
/* translators: %s: Link name. */
esc_attr( sprintf( __( 'Edit “%s”' ), $link->link_name ) ),
$link->link_name
);
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |