wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
get_linkobjects is deprecated since version 2.1.0!
Alternative: Ver página de detalhe para get_bookmarks »" href="https://pt.wpseek.com/function/get_bookmarks/">get_bookmarks()
Alternative: Ver página de detalhe para get_bookmarks »" href="https://pt.wpseek.com/function/get_bookmarks/">get_bookmarks()
get_linkobjects › WordPress Function
Desde1.0.1
Obsoleto2.1.0
› get_linkobjects ( $category = 0, $orderby = 'name', $limit = 0 )
| Parâmetros: (3) |
|
| Ver: | |
| Retorna: |
|
| Definido em: |
|
| 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.'
Fonte
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;
}