list_cats()
list_cats( int $optionall = 1, string $all = ‘All’, str…
list_cats( int $optionall = 1,  string $all = ‘All’,  string $sort_column = ‘ID’,  string $sort_order = ‘asc’,  string $file = ”,  bool $list = true,  int $optiondates,  int $optioncount,  int $hide_empty = 1,  int $use_desc_for_title = 1,  bool $children = false,  int $child_of,  int $categories,  int $recurse,  string $feed = ”,  string $feed_image = ”,  string $exclude = ”,  bool $hierarchical = false )
列出类别。
Lists categories.
列出类别。
Lists categories.
目录锚点:#说明#参数#返回#源码
说明(Description)
另见函数 wp_list_categories()
参数(Parameters)
| 参数 | 类型 | 必填 | 说明 | 
|---|---|---|---|
| $optionall | (int) | 可选 | |
| $all | (string) | 可选 | |
| $sort_column | (string) | 可选 | |
| $sort_order | (string) | 可选 | |
| $file | (string) | 可选 | |
| $list | (bool) | 可选 | |
| $optiondates | (int) | 必需 | |
| $optioncount | (int) | 必需 | |
| $hide_empty | (int) | 可选 | |
| $use_desc_for_title | (int) | 可选 | |
| $children | (bool) | 可选 | |
| $child_of | (int) | 必需 | |
| $categories | (int) | 必需 | |
| $recurse | (int) | 必需 | |
| $feed | (string) | 可选 | |
| $feed_image | (string) | 可选 | |
| $exclude | (string) | 可选 | |
| $hierarchical | (bool) | 可选 | 
返回(Return)
(null|false)
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 | 
|---|---|---|---|
| 2.1.0 | wp-includes/deprecated.php:615 | 0 | 2 | 
类别:WordPress 函数手册、 
		本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。

还没有任何评论,赶紧来占个楼吧!