[wp-trac] [WordPress Trac] #42765: Add the filter to the taxonomy metabox when editing a post

WordPress Trac noreply at wordpress.org
Sun Aug 19 09:45:52 UTC 2018


#42765: Add the filter to the taxonomy metabox when editing a post
----------------------------------------+-----------------------------
 Reporter:  mihdan                      |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Taxonomy                    |     Version:  4.9.1
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  administration
----------------------------------------+-----------------------------

Comment (by soulseekah):

 Michael, thank you for your ticket.

 It seems that `wp_terms_checklist_args` is the filter you are looking for.
 It can be used to override the `selected_cats` argument. If it's empty set
 the default as needed.

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


More information about the wp-trac mailing list