Changes between Initial Version and Version 1 of Ticket #47659, comment 2
- Timestamp:
- 07/08/2019 02:51:16 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #47659, comment 2
initial v1 1 1 Hi @flexithemes, welcome to WordPress Trac! Thanks for the ticket. 2 2 3 You can use the `requests-curl.after_request` hook to get access to `total_time` (where [source:tags/5.2.2/src/wp-includes/Requests/Transport/cURL.php?marks=426#L424 curl.after_request] is a Requests library hook, and the `requests-` prefix is added in [source:tags/5.2.2/src/wp-includes/class-wp-http-requests-hooks.php?marks=72#L43 WP_HTTP_Requests_Hooks::dispatch()] when mapping it to a native WordPress action.3 You can use the `requests-curl.after_request` hook to get access to `total_time`, where [source:tags/5.2.2/src/wp-includes/Requests/Transport/cURL.php?marks=426#L424 curl.after_request] is a Requests library hook, and the `requests-` prefix is added in [source:tags/5.2.2/src/wp-includes/class-wp-http-requests-hooks.php?marks=72#L43 WP_HTTP_Requests_Hooks::dispatch()] when mapping it to a native WordPress action. 4 4 5 5 Here's an example that works for me;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)