dropdown_categories()
Deprecated since 2.6.0. It is no longer supported and may be removed in future releases. Use wp_category_checklist() instead.
Legacy function used to generate the categories checklist control.
No Hooks.
Returns
null. Nothing (null).
Usage
dropdown_categories( $default_category, $category_parent, $popular_ids );
- $default_category(int)
- Unused.
- $category_parent(int)
- Unused.
- $popular_ids(array)
- Unused.
Default:array()
Notes
- See: wp_category_checklist()
- Global. Int.
$post_ID
Changelog
| Since 0.71 | Introduced. |
| Deprecated since 2.6.0 | Use wp_category_checklist() |
dropdown_categories() dropdown categories code WP 7.0
function dropdown_categories( $default_category = 0, $category_parent = 0, $popular_ids = array() ) {
_deprecated_function( __FUNCTION__, '2.6.0', 'wp_category_checklist()' );
global $post_ID;
wp_category_checklist( $post_ID );
}