wordpress / latest / functions / add_link.html

add_link(): int|WP_Error

Add a link to using values provided in $_POST.

Return

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

Source

File: wp-admin/includes/bookmark.php. View all references

function add_link() {
	return edit_link();
}

Uses

Uses Description

Changelog

Version Description
2.0.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/add_link