WP_Links_List_Table::column_name

Advertisement

Summery Summery

Handles the link name column output.

Syntax Syntax

WP_Links_List_Table::column_name( object $link )

Parameters Parameters

$link

(Required) The current link object.

Source 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 &#8220;%s&#8221;' ), $link->link_name ) ),
			$link->link_name
		);
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply