wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
wp_get_linksbyname is deprecated since version 2.1.0!
Alternative: wp_list_bookmarks()
Alternative: wp_list_bookmarks()
wp_get_linksbyname › WordPress Function
Da1.0.1
Deprecato2.1.0
› wp_get_linksbyname ( $category, $args = '' )
| Parametri: (2) |
|
| Vedi: | |
| Ritorna: |
|
| Definito a: |
|
| Codex: |
Gets the links associated with the named category.
Funzioni correlate: get_linksbyname, wp_get_links, get_linkobjectsbyname, get_linkcatname, wp_get_link_cats
Sorgenti
function wp_get_linksbyname($category, $args = '') {
_deprecated_function(__FUNCTION__, '2.1.0', 'wp_list_bookmarks()');
$defaults = array(
'after' => '<br />',
'before' => '',
'categorize' => 0,
'category_after' => '',
'category_before' => '',
'category_name' => $category,
'show_description' => 1,
'title_li' => '',
);
$parsed_args = wp_parse_args( $args, $defaults );
return wp_list_bookmarks($parsed_args);
}