[wp-trac] [WordPress Trac] #49260: Add filter to change wp_dropdown_categories default arguments

WordPress Trac noreply at wordpress.org
Tue Jan 21 15:48:22 UTC 2020


#49260: Add filter to change wp_dropdown_categories default arguments
-------------------------+------------------------------
 Reporter:  jignashu     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:  5.3.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------
Changes (by SergeyBiryukov):

 * focuses:  accessibility =>


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the ticket.

 Could you share a use case for this filter?

 Just noting that `wp_dropdown_users_args` filter was introduced in [34692]
 / #19867.

 At a glance, it would probably make sense to do the same for
 `wp_dropdown_categories()` and `wp_dropdown_pages()`.

 Maybe for `wp_dropdown_languages()` too, but it's mostly used in the
 admin, so I guess I'd skip it for now, unless there's an actual use case
 for a filter there.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49260#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list