2020-05-01 / 5813阅 / 悠然
Warning: This function has been deprecated. Use get_bookmarks() instead.
Gets an array of link objects associated with category $cat_name.
$links = get_linkobjectsbyname( ‘fred’ ); foreach ( $links as $link ) { echo ‘
‘; }
Top ↑
(string)
(Optional)
The category name to use. If no match is found uses all.
Default value: "noname"
(string)
(Optional)
The order to output the links. E.g. 'id', 'name', 'url', 'description', or 'rating'. Or maybe owner. If you start the name with an underscore the order will be reversed. You can also specify 'rand' as the order which will return links in a random order.
Default value: 'name'
(int)
(Optional)
Limit to X entries. If not specified, all entries are shown.
Default value: -1
(array)