wpseek.com
A WordPress-centric search engine for devs and theme authors
get_linkobjects is deprecated since version 2.1.0!
Alternative: get_bookmarks()
Alternative: get_bookmarks()
get_linkobjects › WordPress Function
Since1.0.1
Deprecated2.1.0
› get_linkobjects ( $category = 0, $orderby = 'name', $limit = 0 )
Parameters: (3) |
|
See: | |
Returns: |
|
Defined at: |
|
Codex: |
Gets an array of link objects associated with category n.
Usage: $links = get_linkobjects(1); if ($links) { foreach ($links as $link) { echo ''.$link->link_description.'
Source
function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) { _deprecated_function( __FUNCTION__, '2.1.0', 'get_bookmarks()' ); $links = get_bookmarks( array( 'category' => $category, 'orderby' => $orderby, 'limit' => $limit ) ) ; $links_array = array(); foreach ($links as $link) $links_array[] = $link; return $links_array; }