wp_update_link
wp_update_link ( $linkdata )
Parameters:- (array) linkdata Link data to update. See wp_insert_link() for accepted arguments.
Returns:- (int|WP_Error) Value 0 or WP_Error on failure. The updated link ID on success.
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Description
Updates a link in the database.