wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
get_linkobjects is deprecated since version 2.1.0!
Alternative: get_bookmarks()
Alternative: get_bookmarks()
get_linkobjects › WordPress Function
Seit1.0.1
Veraltet2.1.0
› get_linkobjects ( $category = 0, $orderby = 'name', $limit = 0 )
| Parameter: (3) |
|
| Siehe: | |
| Gibt zurück: |
|
| Definiert in: |
|
| 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.'
Quellcode
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;
}