WordPress at a glance
function is not described

wp_get_link_cats() WP 2.1.0

Retrieves the link categories associated with the link specified.

No Hooks.

Return

Array. The requested link's categories

Usage

wp_get_link_cats( $link_id );
$link_id(int)
Link ID to look up
Default: 0

Code of wp get link cats: wp-admin/includes/bookmark.php VER 5.0.3

<?php
function wp_get_link_cats( $link_id = 0 ) {
	$cats = wp_get_object_terms( $link_id, 'link_category', array('fields' => 'ids') );
	return array_unique( $cats );
}