wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
get_linkobjects is deprecated since version 2.1.0!
Alternative: get_bookmarks()
Alternative: get_bookmarks()
get_linkobjects › WordPress Function
Depuis1.0.1
Dépréciée2.1.0
› get_linkobjects ( $category = 0, $orderby = 'name', $limit = 0 )
Paramètres: (3) |
|
Voir: | |
Retourne: |
|
Défini(e) dans: |
|
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; }