WordPress at Your Fingertips
function is not described

add_link() WP 2.0.0

Add a link to using values provided in $_POST.

No Hooks.

Return

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

Usage

add_link();

Changelog

Since 2.0.0 Introduced.

Code of add_link() WP 5.8.2

function add_link() {
	return edit_link();
}