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
See also
Parameters
- $default_link_category
(int)(Required)Unused.
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 ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.6.0 | Use wp_link_category_checklist() |
2.1.0 | Introduced. |