WPDev.one

edit_link()

edit_link( mixed $link_id = 0 )

Updates or inserts a link using values provided in $_POST.

Parameters 0 required

Name / Type Description
$link_id
int

Optional. ID of the link to edit. Default 0.

Return Value

((int)
| WP_Error) Value 0 or WP_Error on failure. The link ID on success.

Function Information

Since Version
2.0.0
Source File
wp-admin/includes/bookmark.php
Advertisement