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

WordPress Trac noreply at wordpress.org
Fri Mar 31 19:13:50 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 CodeBard):

 Most important, most necessary. Im debugging a wordpress/woocommerce
 install which has ~15 seconds time in init action. If we had something
 like this, it would be very easy to determine which of the 90~ callbacks
 hooked to init is causing slowness.

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


More information about the wp-trac mailing list