WP_Links_List_Table::column_url( object $link )

In this article

Handles the link URL column output.

Parameters

$linkobjectrequired
The current link object.

Source

public function column_url( $link ) {
	$short_url = url_shorten( $link->link_url );
	echo "<a href='$link->link_url'>$short_url</a>";
}

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.