[wp-trac] [WordPress Trac] #38183: Add hooks to be run before and after each callback

WordPress Trac noreply at wordpress.org
Fri Mar 31 22:29:21 UTC 2017


#38183: Add hooks to be run before and after each callback
-------------------------------------------------+-------------------------
 Reporter:  pento                                |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Plugins                              |  Release
 Severity:  normal                               |     Version:
 Keywords:  needs-patch needs-unit-tests 2nd-    |  Resolution:
  opinion                                        |     Focuses:
-------------------------------------------------+-------------------------

Comment (by johnbillion):

 Aside: It is actually possible to add such timing to hooks without a
 before and after hook, it's just nasty.

 runcommand's [https://runcommand.io/wp/profile/ wp profile] package does
 this, and [https://wordpress.org/plugins/query-monitor/ Query Monitor]
 will support it in a future version.

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


More information about the wp-trac mailing list