[wp-trac] [WordPress Trac] #14640: Feature Requst: Add Action Hook "post_submitbox_end"

WordPress Trac noreply at wordpress.org
Sat Feb 22 03:36:41 UTC 2014


#14640: Feature Requst:  Add Action Hook "post_submitbox_end"
-------------------------+-----------------------------
 Reporter:  ancawonka    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Editor       |     Version:  3.0.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------

Comment (by ericlewis):

 The use case makes sense.

 However, if you want fine-tuned control over the Publish meta box, you can
 remove the entire `post_submit_meta_box` via remove_meta_box and add your
 own, fully customized version. So in that respect, you already have the
 ability to accomplish what you want without adding another action.

 In another light: If we add this action, why would we say no to someone
 asking for an action before the `#publishing-action` div? An action right
 after the `delete` link? There's a hook for `post_submitbox_misc_actions`,
 so why don't we add a `pre_submitbox_misc_actions`? Should we imagine the
 entire admin interface as one huge template that a developer should have
 the opportunity to interact with at any point in the templating process?

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


More information about the wp-trac mailing list