WordPress at a glance
function is not described

wp_get_links() WP 1.0.1

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

Gets the links associated with category.

No Hooks.

Return

null/String.

Usage

wp_get_links( $args );
$args(string)
a query string
Default: ''

Notes

  • See: wp_list_bookmarks()

Changelog

Since DEL 2.1.0 Introduced.

Code of wp get links: wp-includes/deprecated.php WP 5.2.2

<?php
function wp_get_links($args = '') {
	_deprecated_function( __FUNCTION__, '2.1.0', 'wp_list_bookmarks()' );

	if ( strpos( $args, '=' ) === false ) {
		$cat_id = $args;
		$args = add_query_arg( 'category', $cat_id, $args );
	}

	$defaults = array(
		'after' => '<br />',
		'before' => '',
		'between' => ' ',
		'categorize' => 0,
		'category' => '',
		'echo' => true,
		'limit' => -1,
		'orderby' => 'name',
		'show_description' => true,
		'show_images' => true,
		'show_rating' => false,
		'show_updated' => true,
		'title_li' => '',
	);

	$r = wp_parse_args( $args, $defaults );

	return wp_list_bookmarks($r);
}