WP_Links_List_Table::column_rel() WordPress Method

The WP_Links_List_Table::column_rel() is a method used to generate the content for the Rel column in the Link Manager table. The Rel column displays the relationship between the current link and the site.

WP_Links_List_Table::column_rel( object $link ) #

Handles the link relation column output.


Parameters

$link

(object)(Required)The current link object.


Top ↑

Source

File: wp-admin/includes/class-wp-links-list-table.php

	public function column_rel( $link ) {
		echo empty( $link->link_rel ) ? '<br />' : $link->link_rel;
	}

Top ↑

Changelog

Changelog
VersionDescription
4.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.