#18645 closed enhancement (maybelater)
add filter to wp_dropdown_users() in post_author_meta_box
| Reported by: | jkudish | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Users | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
In a use case where I don't want to show "authors" only in the author dropdown but want to be able to assign a post to any registered user, there is no way currently to filter the author's meta box. The proposed patch adds a filter on $who variable of the dropdown.
Attachments (3)
Change History (9)
#2
@
15 years ago
- Summary add filter to wp_dropdown_users in post_author_meta_box_who → add filter to wp_dropdown_users() in post_author_meta_box
#3
@
15 years ago
I would unregister the meta box and re-register it with your own wp_dropdown_users() call.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
*the $who, typo :)