WordPress at a glance
function is not described

get_linksbyname() WP 0.71

Deprecated from version 2.1.0. It is no longer supported and can be removed in future releases. Use get_bookmarks() instead.

Gets the links associated with category $cat_name.

No Hooks.

Return

null. Null. Nothing.

Usage

get_linksbyname($cat_name = "noname", $before = '', $after = '
', $between = " ", $show_images = true, $orderby = 'id',;

Notes

  • See: get_bookmarks()

Changelog

Since 0.71 Introduced.
Deprecated Since 2.1.0 Use get_bookmarks()

Code of get_linksbyname() WP 5.7.1

<?php
function get_linksbyname($cat_name = "noname", $before = '', $after = '<br />', $between = " ", $show_images = true, $orderby = 'id',
						$show_description = true, $show_rating = false,
						$limit = -1, $show_updated = 0) {
	_deprecated_function( __FUNCTION__, '2.1.0', 'get_bookmarks()' );

	$cat_id = -1;
	$cat = get_term_by('name', $cat_name, 'link_category');
	if ( $cat )
		$cat_id = $cat->term_id;

	get_links($cat_id, $before, $after, $between, $show_images, $orderby, $show_description, $show_rating, $limit, $show_updated);
}