get_link_to_edit

Advertisement

Summery Summery

Retrieves link data based on its ID.

Syntax Syntax

get_link_to_edit( int|stdClass $link )

Parameters Parameters

$link

(Required) Link ID or object to retrieve.

Return Return

(object) Link object for editing.

Source Source

File: wp-admin/includes/bookmark.php

function get_link_to_edit( $link ) {
	return get_bookmark( $link, OBJECT, 'edit' );
}

Advertisement

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Advertisement

Leave a Reply