WordPress at Your Fingertips
function is not described

get_link_to_edit() WP 2.0.0

Retrieves link data based on its ID.

No Hooks.

Return

Object. Link object for editing.

Usage

get_link_to_edit( $link );
$link(int|stdClass) (required)
Link ID or object to retrieve.

Changelog

Since 2.0.0 Introduced.

Code of get_link_to_edit() WP 5.8.2

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