WordPress开发者和主题制作者的搜索引擎



dropdown_categories ›

Since0.71
已弃用2.6.0
dropdown_categories ( $default = 0, $parent = 0, $popular_ids = array() )
参数: (3)
  • (int) $default Unused.
    Required: No
    默认:
  • (int) $parent Unused.
    Required: No
    默认:
  • (array) $popular_ids Unused.
    Required: No
    默认: array()
查看:
定义在:
文档:

Legacy function used to generate the categories checklist control.



源码

function dropdown_categories( $default = 0, $parent = 0, $popular_ids = array() ) {
	_deprecated_function( __FUNCTION__, '2.6.0', 'wp_category_checklist()' );
	global $post_ID;
	wp_category_checklist( $post_ID );
}