WPDev.one
Core Function
View Source on Trac ↗

get_linkobjects()

get_linkobjects( mixed $category = 0, mixed $orderby = 'name', mixed $limit = 0 )

Gets an array of link objects associated with category n.

Parameters 3 required

Name / Type Description
int

$category Optional. The category to use. If no category supplied, uses all. Default 0.

Required
string

$orderby Optional. The order to output the links. E.g. 'id', 'name', 'url', 'description', 'rating', or 'owner'. Default 'name'. If you start the name with an underscore, the order will be reversed. Specifying 'rand' as the order will return links in a random order.

Required
int

$limit Optional. Limit to X entries. If not specified, all entries are shown. Default 0.

Required

Return Value

(array)
array

Function Information

Since Version
1.0.1
Source File
wp-includes/deprecated.php
Advertisement