wpseek.com
A WordPress-centric search engine for devs and theme authors



get_link_to_edit › WordPress Function

Since2.0.0
Deprecatedn/a
get_link_to_edit ( $link )
Parameters:
  • (int|stdClass) $link Link ID or object to retrieve.
    Required: Yes
Returns:
  • (object) Link object for editing.
Defined at:
Codex:

Retrieves link data based on its ID.



Source

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