Warning: This function has been deprecated. Use wp_link_category_checklist() instead.

dropdown_link_categories() WordPress Function

The dropdown_link_categories() function displays a list of link categories as a drop-down menu. The function takes two arguments: the first is the name of the menu (which will be displayed as the title of the drop-down), and the second is an optional array of arguments. The dropdown_link_categories() function is a useful way to organize links on a WordPress site. By default, WordPress displays links in a single list, which can be difficult to navigate. This function allows you to create a drop-down menu of links, which can make it easier for visitors to find the links they're looking for.

dropdown_link_categories( int $default_link_category ) #

Legacy function used to generate a link categories checklist control.


Description

Top ↑

See also


Top ↑

Parameters

$default_link_category

(int)(Required)Unused.


Top ↑

Source

File: wp-admin/includes/deprecated.php

function dropdown_link_categories( $default_link_category = 0 ) {
	_deprecated_function( __FUNCTION__, '2.6.0', 'wp_link_category_checklist()' );
	global $link_id;
	wp_link_category_checklist( $link_id );
}


Top ↑

Changelog

Changelog
VersionDescription
2.6.0Use wp_link_category_checklist()
2.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More