首页 WordPress函数大全 dropdown_cats()

dropdown_cats()

2020-05-01 / 5320阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

Warning: This function has been deprecated. Use wp_dropdown_categories() instead.

dropdown_cats( int $optionall = 1, string $all = 'All', string $orderby = 'ID', string $order = 'asc', int $show_last_update, int $show_count, int $hide_empty = 1, bool $optionnone = false, int $selected, int $exclude )

Deprecated method for generating a drop-down of categories.

描述

See also See also

  • wp_dropdown_categories()

Top ↑

参数

$optionall

(int)
(Optional)

Default value: 1

$all

(string)
(Optional)

Default value: 'All'

$orderby

(string)
(Optional)

Default value: 'ID'

$order

(string)
(Optional)

Default value: 'asc'

$show_last_update

(int)
(Required)

$show_count

(int)
(Required)

$hide_empty

(int)
(Optional)

Default value: 1

$optionnone

(bool)
(Optional)

Default value: false

$selected

(int)
(Required)

$exclude

(int)
(Required)

返回

(string)

大家谈论
    我的见解