WPDev.one
Core Function
View Source on Trac ↗

wp_get_link_cats()

wp_get_link_cats( mixed $link_id = 0 )

Retrieves the link category IDs associated with the link specified.

Parameters 0 required

Name / Type Description
$link_id
int

Link ID to look up.

Return Value

(int[])
The IDs of the requested link's categories.

Function Information

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