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



dropdown_categories › WordPress Function

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

Legacy function used to generate the categories checklist control.



源码

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