get_link_to_edit() – Retrieves link data based on its ID.
You appear to be a bot. Output may be restricted
Description
Retrieves link data based on its ID.
Usage
$object = get_link_to_edit( $link );
Parameters
- $link
- ( int|stdClass ) required – Link ID or object to retrieve.
Returns
object Link object for editing.
Source
File name: wordpress/wp-admin/includes/bookmark.php
Lines:
1 to 3 of 3
function get_link_to_edit( $link ) { return get_bookmark( $link, OBJECT, 'edit' ); }