get_link_to_edit( int|stdClass $link )

Retrieves link data based on its ID.


Parameters Parameters

$link

(int|stdClass) (Required) Link ID or object to retrieve.


Top ↑

Return Return

(object) Link object for editing.


Top ↑

Source Source

File: wp-admin/includes/bookmark.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.