WPDev.one
Core Function
View Source on Trac ↗

get_linkobjectsbyname()

get_linkobjectsbyname( mixed $cat_name = "noname", mixed $orderby = 'name', mixed $limit = -1 )

Gets an array of link objects associated with category $cat_name.

Parameters 3 required

Name / Type Description
string

$cat_name Optional. The category name to use. If no match is found, uses all. Default 'noname'.

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 -1.

Required

Return Value

(array)
array

Function Information

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