Opened 13 years ago
Last modified 6 years ago
#20810 new enhancement
Add disable arg or attributes arg to wp_dropdown_categories() & wp_dropdown_pages()
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.1 |
Component: | Posts, Post Types | Keywords: | has-patch needs-refresh |
Focuses: | template | Cc: |
Attachments (4)
Change History (10)
#1
@
13 years ago
+1 we need it on all dropdown functions.
An array of attribute could be passed. Like:
$args = array(
'attrs' = array(
'multiple' => 'multiple',
'disable' => 'disabled'
)
)
It will allow users to add extra attribute like classes or any other html 5 attributes on the dropdown.
Note: See
TracTickets for help on using
tickets.
Disabled arg for wp_dropdown_categories()