edit_link
edit_link ( $link_id = 0 )
Parameters:- (int) link_id Optional. ID of the link to edit. Default 0.
Returns:- (int|WP_Error) Value 0 or WP_Error on failure. The link ID on success.
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Description
Updates or inserts a link using values provided in $_POST.