dropdown_link_categories( int $default )

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

Legacy function used to generate a link categories checklist control.

Description

See also

Parameters

$default

(int) (Required) Unused.

Source

File: 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 );
}

Changelog

Version Description
2.6.0 Use wp_link_category_checklist()
2.1.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/dropdown_link_categories