[wp-trac] [WordPress Trac] #51177: Add filters in the attachment_submitbox_metadata function

WordPress Trac noreply at wordpress.org
Sun Aug 30 22:49:52 UTC 2020


#51177: Add filters in the attachment_submitbox_metadata function
-------------------------+------------------------------
 Reporter:  Jean-David   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  minor        |  Resolution:
 Keywords:               |     Focuses:  template
-------------------------+------------------------------

Comment (by Mista-Flo):

 Hi @Jean-David, welcome and thank you for your ticket :)

 I'm not sure adding some hooks here would be a good idea. I checked, and
 it was the same for the submit metabox for posts. You still have an action
 hook. But usually, for this metabox, I used to just manually add some
 custom HTML with JS code.

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


More information about the wp-trac mailing list