Definition:
function wp_get_linksbyname($category, $args = '') {}
Gets the links associated with the named category.
Parameters
- string $category: The category to use.
- string $args
Source code
function wp_get_linksbyname($category, $args = '') {
_deprecated_function(__FUNCTION__, '2.1', 'wp_list_bookmarks()');
$defaults = array(
'after' => '<br />',
'before' => '',
'categorize' => 0,
'category_after' => '',
'category_before' => '',
'category_name' => $category,
'show_description' => 1,
'title_li' => '',
);
$r = wp_parse_args( $args, $defaults );
return wp_list_bookmarks($r);
}
3709

February 12, 2011 


No comments yet... Be the first to leave a reply!