dropdown_link_categories
Legacy function used to generate a link categories checklist control.
Description
dropdown_link_categories( (int) $default = 0 );
Parameters (1)
- 0. $default — Optional. (int)
- The default.
Usage
if ( !function_exists( 'dropdown_link_categories' ) ) { require_once ABSPATH . '/wp-admin/includes/deprecated.php'; } // The default. $default = -1; // NOTICE! Understand what this does before running. $result = dropdown_link_categories($default);
Defined (1)
The function is defined in the following location(s).
- /wp-admin/includes/deprecated.php
- function dropdown_link_categories( $default = 0 ) {
- _deprecated_function( __FUNCTION__, '2.6.0', 'wp_link_category_checklist()' );
- global $link_id;
- wp_link_category_checklist( $link_id );
- }