WP_Links_List_Table::column_url

Advertisement

Summery Summery

Handles the link URL column output.

Syntax Syntax

WP_Links_List_Table::column_url( 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_url( $link ) {
		$short_url = url_shorten( $link->link_url );
		echo "<a href='$link->link_url'>$short_url</a>";
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply