WordPress at a glance
function is not described

get_default_link_to_edit() WP 2.0.0

Retrieves the default link for editing.

No Hooks.

Return

stdClass. Default link object.

Usage

get_default_link_to_edit();

Code of get default link to edit: wp-admin/includes/bookmark.php VER 5.1.1

<?php
function get_default_link_to_edit() {
	$link = new stdClass;
	if ( isset( $_GET['linkurl'] ) ) {
		$link->link_url = esc_url( wp_unslash( $_GET['linkurl'] ) );
	} else {
		$link->link_url = '';
	}

	if ( isset( $_GET['name'] ) ) {
		$link->link_name = esc_attr( wp_unslash( $_GET['name'] ) );
	} else {
		$link->link_name = '';
	}

	$link->link_visible = 'Y';

	return $link;
}